开发者

Visual Studio 2005 Express with Microsoft Platform SDK

I am facing a problem with integrating Microsoft Platform SDK with Visual Studio 2005 Express, now it looks like it does not include it with the default installation.

So I installed Microsoft Platform SDK for Windows 2003 (as reccomended by http://www.zedwood.com/article/134/visual-studio-express-2005-and-the-platform-sdk) and carried out accordingly) - Althogh 开发者_开发知识库I could not find C:\Program Files\Microsoft Visual Studio 8\VC\VCProjectDefaultscorewin_express.vsprops, so I could not comment out what he reccomended.

But the problem I face is that I have compiling from command line cl.exe, and it does not seem to be finding io.h (which I understand is part of the Microsoft Platform SDK) and doesn't seem to be included in Visual Studio 2005 Express.

How would I include this (io.h) file when compiling? (I know you can add INCLUDE values in the IDE, but as it's command line I don't think it will work - I have tried)

Note: Unfortunately I am restricted in using Visual Studio 2005 express, so I can't upgrade etc.

This has been driving me mad, so any help would be appreciated.


io.h should be in the C runtime include directory, not the SDK's. Something like:

  • C:\Program Files\Microsoft Visual Studio 8\VC\include\io.h

If you're running builds from the command line make sure the environment is set correctly. One way to do that is to run the \Program Files\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat script which should have been installed by VC2005 Express (there should be a shortcut to it on the start menu).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜