I found out a way to find the bit of OS that is whether x86 or x64. Is this a reliable method:
//do 32 bit stuff...
//do 64 bit stuff...
/*You dont use neither 32 bit nor 64 bit*/
Last edited on
Yes, it works, but the check is done at compile time, not at runtime. You should already know for what platform are you compiling, don't you ?
I need to do it at runtime.
How can I do this accurately...?
Now in order to get more info of the processor, I can use GetSystemInfo(...) or GetNativeSystemInfo(...) !
Can you please just go to skidforums.com please, you are asking us for entire code for your easy project.