lagz's picture

Fullscreen bug

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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

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?

the Fiddler's picture

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!