Writing Code for 64-bit windows
-
Hi I need to write code for 64-bit OS do anyone has any good document/ebook for it . I need to use an existing dll(which works fine in 32bit) to be used in a 64bit machine Can anyone put some light on this topic Thanks & Regards :laugh:
Vikas Amin EATON PUNE
-
Hi I need to write code for 64-bit OS do anyone has any good document/ebook for it . I need to use an existing dll(which works fine in 32bit) to be used in a 64bit machine Can anyone put some light on this topic Thanks & Regards :laugh:
Vikas Amin EATON PUNE
Windows System Programming (Third Edition) by Johnson M. Hart has some chapters about Win64. Maybe you want to have a look. In general there should not be a great difference between Win32 & Win64 apart from the obvious ones. Search for any conditional compiled code under _WIN32 directive. Consider if such code will work in Win64 and if so (most likely) add the _WIN64 directive there. Also when you are using pointer arithmetic do not hardwire the sizes but use the sizeof operator. Well, most of us do that anyway so should not be a problem. Keeping things simple is a great art