Jump to content
  • Advertisement
Sign in to follow this  
shishio

where do I get the latest windows.h?

This topic is 4747 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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!