Hello, trying to find thid issue in the database with no luck.
So, I'm developing on a 64bit system (windows seven). I'm making a simple console programme that check if a dll is present on the windows system. in that case i check in the system32 folder and then, in the sysWOW64 folder. The pro gramme is 32bit application.
On a 32bit target platform, i can check normally the win32dll, as the SysWOW64 directory doesn't exist, no problem. Bit when it execute on a 64bit system i can check the win32 directory, but the sysWOW64 directory always me point to the system32 directory.
It seems that on 64bit system there is a kind of redirection.
I'm trying to use the "Wow64DisableWow64FsRedirection" but i have "error C3861: 'Wow64DisableWow64FsRedirection': identifier not found" when i compile.
So ther is too question :
- In winbase.h this fuction is disabled, how to get it work ?
- How to determine if i'm currently on a 32 or 64 bit system as programme is running ?
Many thanks.