I have 32-bit application build on Microsoft visual studio, now I have to run this application on 64-bit Operating system & my requirement is based on OS (32-bit or 64-bit) I need to load a dll, I am just looking for a macro in Visual studio which tells me what the current operating system bitness (32-bit or 64-bit) on which I am running my application.
I found _WIN32 & _WIN64 macros in MSVS but it seems there is a bug in VS2008 & VS2010 they is no _WIN64 defined in them.
is there a way in Visual studio () that i can determine whether I am running my application on 64-bit OS or 32-bit OS (not 32-bit application or 64-bit application), to be more specific, I am looking for a macro not a function like IsWow64Process() ??