02-26-2012 07:47 AM
I have some code that is almost identical for 32- and 64-bit application.
Which is the best definition for selection (using #if 😞
WIN32 and WIN64, or
_WIN32 and _WIN64, or
__WIN32__ and __WIN64__, or
_NI_mswin32_ and _NI_mswin64_
I am using CVI2010 on Windows 7 x64.
I build only only for WIndows (Windows XP 32, and 32- and 64-bit for Windows 7)
Sometimes I use the Windows SDK as provided by CVI.
Regards, Jos
Solved! Go to Solution.
03-01-2012 06:39 AM
Hello,
I think that the below link would be helpful.
http://www.gamedev.net/topic/577771-define-win32/
If you have any other question, doen't hesitate to contact me.
Regards,
Hossein
03-01-2012 06:57 AM
Hello again,
For more info to get insight I found another links which are given below.
http://zone.ni.com/reference/en-XX/help/370051T-01/cvi/programmerref/multiplatformprogguidelines/
http://zone.ni.com/reference/en-XX/help/370051T-01/cvi/programmerref/porting32bitto64bit/
http://forums.ni.com/t5/NI-TestStand/Windows-XP-64-bit/td-p/688790/page/3
Regards,
Hossein