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

Started by
2 comments, last by Dreadshoot 19 years, 1 month ago
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.
Advertisement
You need the DirectX SDK to develope for DirectX. It's available for free download from Microsoft (clicky).

- Jason Astle-Adams

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.

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?

This topic is closed to new replies.

Advertisement