Sign in to follow this  

Some questions (C++), missing windows.h

This topic is 4662 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 got some problems i need some help with. First is that i installed VS 2005 c++ express but when i try to compile some projects it says it cant find the "windows.h". I've searched a little and this is probably because i miss windows SDK i guess. Well here is the jungle.. what packages shall i get? (Im on windows xp sp2) I've found these sites: http://www.microsoft.com/msdownload/platformsdk/sdkupdate/ http://lab.msdn.microsoft.com/express/visualc/usingpsdk/default.aspx The second site says i should click in windows sdk+core, but that says core is for win server 2003? And the first one says win xp sp2 sdk, doesnt work as build environment on windows xp? Well I would appreciate some help on what files i should download, and if there is any settings/includes or so i shall fix Second.. what do i need to make directx applications, some sdk? And is there any good sites like nehe for dx? //Thanks in advance for any answers that can help.

Share this post


Link to post
Share on other sites
You need to get the SDK Update for winxp. Don't worry about the Server 2003 one.

I had the same exact problem as you. You then need to manually add the lib, include, and another folder with-in VC 2005.

Share this post


Link to post
Share on other sites
Oh, thanks for the answers,
Windows XP SP2 Platform SDK:
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/XPSP2FULLInstall.htm
This is the one i suppose then, and that i dont need to care for any core stuff or so.

Btw, I can choose between 2 links when i click on windows xp sp2, platform sdk here:
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
First one is some 1.8mb, psdk-x86.exe, and the other one is the FULL install files.
Does it matter which one i take?

Share this post


Link to post
Share on other sites

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

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