I have a question regarding Is64bitOS() API
Posted: Thu Dec 09, 2010 3:10 am
If I try to input the above function based on 32bit process, it returns FALSE.
And, if I input the above fuction based on 64bit process, it return TRUE.
Our object is to define whether it is running based on 32bit or 64bit OS. However, if it is accpeted only on 64bit process, we can not get the result we are looking for.
Therefore, we are using Is64bitModule( L"c:\\windows\\explorer.exe") to clarify wether it's 64bit OS or 32bit OS.
Please advice us that Is64bitOS() API is actually to run this way or whether I'm using it wrong.
And, if I input the above fuction based on 64bit process, it return TRUE.
Our object is to define whether it is running based on 32bit or 64bit OS. However, if it is accpeted only on 64bit process, we can not get the result we are looking for.
Therefore, we are using Is64bitModule( L"c:\\windows\\explorer.exe") to clarify wether it's 64bit OS or 32bit OS.
Please advice us that Is64bitOS() API is actually to run this way or whether I'm using it wrong.