How can we recognize the Vista we execute now is 32bit or 64bit. I need to load different driver when excuting different Vista(32bit or 64bit). Is there any API in masm32 I can use to distinguish the OS?
Posted on 2007-02-02 01:56:13 by jeffery
Have a look at IsWow64Process and GetNativeSystemInfo - they were the only 2 things I found in the SDK.
Not having either Vista or a 64-bit processor, I can't test them... :sad:
Posted on 2007-02-02 02:02:42 by sinsi
IsWow64Process is the one to use.. its simple, if export doesnt exist, then its not 64 bit
Posted on 2007-02-02 08:42:58 by evlncrn8