Sign in to follow this  
shishio

where do I get the latest windows.h?

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this