LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

WIN64 or _WIN64 or _NI_mswin64_

Solved!
Go to solution

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

 

 

 

0 Kudos
Message 1 of 3
(3,995 Views)

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

0 Kudos
Message 2 of 3
(3,978 Views)
Solution
Accepted by topic author JGS
Message 3 of 3
(3,975 Views)