Can't figure out how to make a Win32 App. project in Visual C++ Express Eddition Beta

Hi. I just downloaded Visual C++ Express Eddition Beta last night and can't figure out how to make a Win32 Application Project (it doesn't appear to be in the Visual Studio Installed Templates). I have a few questions:

1. How do I make a Win32 Application Project

2. How do I add a File to a project

3. What folder should I save all my projects, files, etc. in

4. Are these questions in the right forum

Thanks for the help. Big Smile


Answer this question

Can't figure out how to make a Win32 App. project in Visual C++ Express Eddition Beta

  • Geert V

    For the 3 things you need: create Win32 project wizard, include proper include files, and include proper libraries just follow the directions here:

    http://blog.kalmbachnet.de/

     


  • Joachim

    Where is windows.h on your system

    Thanks,
      Ayman Shoukry
      VC++ Team

  • Gabi-XDS

    Just add the directories at the end of the related settings.

    For example, I believe you should add the bin directory to the path by doing:

    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 SDK\Bin"

    The same way applies to the rest of the Include and Library settings.

    Hope this helps!

    Thanks,
      Ayman Shoukry
      VC++ Team



  • David Keaveny

    1) Win32 Application projects are not supported for the Express editions. For more details see related post at http://forums.microsoft.com/msdn/ShowPost.aspx PostID=77890

    2) Right click on the "source files" folder of the solution and choose add --> New Item.

    3) Whatever folder you choose (the default location is "Documents and Settings\<username>\My Documents\Visual Studio 2005\Projects").

    4) Yes that is the correct forum to ask such questions.

    Thanks,
      Ayman Shoukry
      VC++ Team

  • chamm3r

    You can probably do that by dropping the PSDK yourself.

    Take a look at the below link for more details:
    http://lab.msdn.microsoft.com/express/visualc/usingpsdk/default.aspx

    Thanks,
      Ayman Shoukry
      VC++ Team

  • NateF

    Ayman, did not work for me whether I put the added directory at the beginning or end of each Path, Include & Lib statement.  I still get a "windows.h not found" error. (c1083)   Ruel
  • Hardy Herzog

    Ok, this is what it says to do (up to step 3):

    Step 1. Install Visual C++ 2005 Express.

    If you haven't done so, install Visual C++ 2005 Express by following the instructions here.

    Step 2. Install the Microsoft Platform SDK.

    You can install the Platform SDK over the Web from the Platform SDK page on the Download Center. On that page follow the instructions and install the SDK for the x86 platform.

    Step 3. Update the the Visual C++ Directories in the Projects and Solutions section in the Options dialog box.

    In that section, you'll want to add the paths to the appropriate subsection:

    • Executable files - C:\Program Files\Microsoft SDK\Bin
    • Include files - C:\Program Files\Microsoft SDK\include
    • Library files - C:\Program Files\Microsoft SDK\lib

    Note:  For Beta 2, you cannot set the Visual C++ Directories in the Options dialog of Visual C++ Express Edition. To work around this issue, you can update the Visual C++ Directories by modifying the VCProjectEngine.dll.express.config file located in the \vc\vcpackages subdirectory of the Visual C++ Express Edition install location. 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.
    ____________________________________________

    and this is what C:\Program Files\Microsoft Visual Studio 8\VC\Packages\VCProjectEngine.Dll.Express.Config says:

    < 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"

    Library="$(VCInstallDir)lib;$(VCInstallDir)PlatformSDK\lib;$(FrameworkSDKDir)lib;$(VSInstallDir);$(VSInstallDir)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)"

    Reference="$(FrameworkDir)$(FrameworkVersion)"

    Source="$(VCInstallDir)crt\src"

    />

    </Platform>

    </VCPlatformConfigurationFile>


    Now what do I enter to set these paths :

  • Executable files - C:\Program Files\Microsoft SDK\Bin
  • Include files - C:\Program Files\Microsoft SDK\include
  • Library files - C:\Program Files\Microsoft SDK\lib
  • Thanks.



     


  • Hubert_K

    You need to go to your platform SDK program group and register the directories with visual studio, if you haven't done that, thats why it can't find windows.h
  • Roland A

    Oh, so there is no possible way to make a Win32 Application project
  • Can't figure out how to make a Win32 App. project in Visual C++ Express Eddition Beta