I'm using VS2008 and the project properties are set for (active) x64
and the weird thing is _WIN64 is not defined and WPARAM and LPARAM are still 32-bit.
Should I define _WIN64 manually?
If so, where should I put #define _WIN64? Preprocessor setting doesn't seem to work.
I'm quite certain it's compiled as x64 because in task manager the exe has no *32 postfix.
The thing is,
_WIN64 is already defined by compiler but the IDE couldn't recognize it. (seemed fixed in VS2010.)
The values of sizeof(WPARAM) and sizeof(LPARAM) are both 8 (not 4)
The IDE shows codes in *ifdef _WIN64* block in grey color as if they were inactive, which are not.
http://bugs.python.org/issue1558
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With