Fullscreen bug
Posted Wednesday, 27 February, 2008 - 14:56 by lagz in
Hi, when I use the Fullscreen property I get the exception:
Unable to find an entry point named 'SetWindowLongPtr' in DLL 'user32.dll'.
Any ideas what is going wrong here? If I change the function to SetWindowLong it works fine, but having done some research it seems that SetWindowLongPtr is supposed to replace SetWindowLong as it works on both 64 and 32bit platforms?!
I am using Windows Vista (32bit) Business




Comments
Feb 27
16:32:00Re: Fullscreen bug
posted by the FiddlerThat's very strange. From MSDN:
Minimum operating systems Windows 95, Windows NT 3.1
It also works on 32bit XP and 64bit Vista, which makes it even more strange.
Could it be a name mangling issue..? Can you check if SetWindowLongPtrW works?
Feb 28
10:49:00Re: Fullscreen bug
posted by the FiddlerOk, fixed (fix not in SVN yet). It appears that on Windows x86 SetWindowLongPtr is a macro that expands to SetWindowLong. Only on x64 Windows does this function exist.
Thanks for reporting!