Starting Visual C++ Express for the first time

g'day:

I just installed VC++ Express. I am not a C programmer, but I am somewaht familiar with VB.Net. The msdn site ...visualc/usingpsdk/default.aspx has instructions for adding paths and modifying the corewin_express.vsprops file, which I followed (except that my Platform SDK is in D:, not C: - I assume you need the $ sign heading the Paths). Step 5 is to generate and build a Win32 app to test those paths. I get build failures due to an error as follows:

fatal error C1083: Cannot open include file: 'windows.h': Invalid argument. Now, being a newbie to C and C++, that's already got me stumped for starters

I suspect this has little to do with my modified/added paths. Can anyone advise please




Answer this question

Starting Visual C++ Express for the first time

  • RegMellon

    The $() indicates the use of a macro. If you have another path to use you should enter it as it really is. Default it might be something like this.

    $(VCInstallDir)PlatformSDK\include

    $(VCInstallDir) will be replaced with the directory where Visual C++ is installed.

    You probably need to enter something like this:

    D:\PlatformSDK\include



  • Starting Visual C++ Express for the first time