Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. Creating Visual C++ Projects Programatically

Creating Visual C++ Projects Programatically

Scheduled Pinned Locked Moved Visual Studio
c++csharpvisual-studiocom
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    iddqd515
    wrote on last edited by
    #1

    I posted this in the VC++ forum and realized its probably better suited for this one... I'm trying to create a number of Visual Studio VC++ projects with the same settings and add various existing files to them. They're going to be native C++ Win32 projects. I have a bunch of existing .h and .cpp files that I want to bundle into VC++ projects and don't want to have to create new project, add items, change settings, etc manually every time. Unfortunately I don't see how to do this programatically for VC++. http://msdn2.microsoft.com/en-us/library/ms228767(VS.80).aspx includes details on how to create C# and VB.NET projects but not VC++ (although I don't really understand the OnConnection method in the examples). It seems VC++ uses a different project template structure than C# and VB.NET but that's all I know on that front. The file structure in the Visual Studio directory is certainly different. :confused: It seems like if I could just get past the hurdle of creating the project files I could get this working and add items/change project settings programmatically. Does anyone know if this is even possible with VC++ projects? Is it only doable for C# and VB.NET? :( I thought to create my own template type and use that but then I found out VC++ doesn't even support the 'Export template...' option in the file menu.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups