Migration of 32 bit OS Vc++ application to 64 bit OS Vc++ application
i have an Vc++ application developed in VC6 . currently it supports 32 bit Operation systems. My requirement to covert this application to support 64 bit Operating systems (like windows7 , Windoes 2008 ser开发者_JAVA技巧ver and etc..).
what are easiest way / steps / procedure to migrate such of application?
In practice, if you use every data type as it should, there shouldn't be a problem. Typical errors that are made, are:
- using [unsigned] long instead of size_t when referring to sizes
- subtracting pointers and assigning the result to a long (should be ptrdiff_t or something like this)
- converting pointers to long or long to pointers
The page http://msdn.microsoft.com/en-us/library/aa384198%28v=VS.85%29.aspx on Microsoft's MSDN site gives a list of important things to think about when going to 64-bit.
Hope this helps.
精彩评论