Advertisement Jump to content
Sign in to follow this  
shishio

where do I get the latest windows.h?

This topic is 4937 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I was trying to use the SetWindowLongPtr function when I realized my winuser.h library file doesn't have a definition for it. Does anyone know where to get the latest library files? Thanks............

Share this post


Link to post
Share on other sites
Advertisement
That's a really old Windows SDK function, so unless you're using a compiler made before, say, Windows 95, you definitely have that included. You're likely not including the right files or the right libraries.

Share this post


Link to post
Share on other sites
No, SetWindowLongPtr was introduced with 64bit versions of Windows. MSDN states it as being available on Windows 95, which is because the headers alias it to SetWindowLong on Win32.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!