I have a question regarding Is64bitOS() API

contains all delphi packages mentioned below

I have a question regarding Is64bitOS() API

Postby devroid » 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.
devroid
 
Posts: 1
Joined: Thu Dec 09, 2010 2:57 am

Re: I have a question regarding Is64bitOS() API

Postby madshi » Thu Dec 23, 2010 7:59 am

Sorry for the late reply.

The API is supposed to work just fine. My best guess is that you didn't call InitializeMadCHook(). The API depends on that you initialize madCodeHook properly.
madshi
Site Admin
 
Posts: 9822
Joined: Sun Mar 21, 2004 5:25 pm


Return to madCollection

Who is online

Users browsing this forum: No registered users and 5 guests

cron