
Fullscreen bug
Posted Wednesday, 27 February, 2008 - 14:56 by lagz inHi, 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
Re: Fullscreen bug
That'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?
Re: Fullscreen bug
Ok, 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!