Msdn says that SetWindowLong got superceded by SetWindowLongPtr. How do I use that one now? Masm no go :(
Get a new user32.lib from somewhere?
Get a new user32.lib from somewhere?
Jimmy, for 32bit code just keep using SetWindowLong.
Otherwise, make the protos youself :)
Otherwise, make the protos youself :)
Yeah, there is no "SetWIndowLongPtr" on 32-bit machines.
MSVC6.0 defines it in the following way:
The same goes to GetWindowLongPrt
MSVC6.0 defines it in the following way:
#ifdef _WIN64
blah blah
#else /* _WIN64 */
#define SetWindowLongPtrA SetWindowLongA
#define SetWindowLongPtrW SetWindowLongW
#ifdef UNICODE
#define SetWindowLongPtr SetWindowLongPtrW
#else
#define SetWindowLongPtr SetWindowLongPtrA
#endif // !UNICODE
The same goes to GetWindowLongPrt
Aight - Thanks guys. I did create new protos, but it didn't work - not surprising if it doesn't exist on 32 bit machines ;)