# setting up the platform sdk with VC++ Express Beta 2

This topic is 4849 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

How can you set the directories for the platform sdk in VC++ Beta 2? I tried microsoft, but they don't tell you how to exactly modify the VCProjectEngine.dll.express.config file to put in the new directories Thanks for anyhelp, ProgrammingNerd

##### Share on other sites
When you start up VC++ Express, on the quick start page there's a link to an MSDN page (make sure you installed the MSDN docs along with the IDE) which details the steps required to add in the platform SDK directories, as for the file itself it seems to be an XML based file which you can edit in Notepad.

##### Share on other sites
It still doesn't work; an example of what I put in the file is shown here:

VCProjectEngine.Dll.Express.Config:

<?xml version="1.0" encoding="utf-8"?>
<VCPlatformConfigurationFile
Version="8.00"
>
<Platform
Name="VCProjectEngine.dll"
Identifier="Win32"
>
<Directories
Include="$(VCInstallDir)include;$(VCInstallDir)PlatformSDK\include;$(FrameworkSDKDir)include;$C:\Program Files\Microsoft Platform SDK\Include"
Library="$(VCInstallDir)lib;$(VCInstallDir)PlatformSDK\lib;$(FrameworkSDKDir)lib;$(VSInstallDir);$(VSInstallDir)lib;$c:\Program Files\Microsoft Platform SDK\Lib"
Path="$(VCInstallDir)bin;$(VCInstallDir)PlatformSDK\bin;$(VSInstallDir)Common7\Tools\bin;$(VSInstallDir)Common7\tools;$(VSInstallDir)Common7\ide;$(ProgramFiles)\HTML Help Workshop;$(FrameworkSDKDir)bin;$(FrameworkDir)$(FrameworkVersion);$(VSInstallDir);$(PATH);$C:\Program Files\Microsoft Platform SDK\Bin"
Reference="$(FrameworkDir)$(FrameworkVersion)"
Source="$(VCInstallDir)crt\src" /> </Platform> </VCPlatformConfigurationFile> When I compile a program using the appwizard, it says it can't find windows.h. Please Help, and thanks ProgrammingNerd #### Share this post ##### Link to post ##### Share on other sites Quote:  Original post by ProgrammingNerd...$C:\Program Files\Microsoft Platform SDK\Include"

Strip the $. You use the$ sign to expand variables, like \$(VCInstallDir). A simple path like the one above is no variable.

If it still doesn't work, try this:

Quote:
 Please make sure that you also delete the file "vccomponents.dat" located in the "%USERPROFILE%\Local Settings\Application Data\Microsoft\VCExpress\8.0" if it exists before restarting Visual C++ Express Edition.

But really, EVERYTHING you need to know is on the MSDN page.

[Edited by - Konfusius on August 6, 2005 8:35:07 PM]

##### Share on other sites
Thanks for all your help! Didn't know how to edit the file, or know what I was doing for that matter.

Well, I'm just glad that people like you know how to help people like me.

1. 1
Rutin
27
2. 2
3. 3
4. 4
5. 5

• 11
• 9
• 9
• 9
• 14
• ### Forum Statistics

• Total Topics
633313
• Total Posts
3011317
• ### Who's Online (See full list)

There are no registered users currently online

×