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. C / C++ / MFC
  4. merge two projects

merge two projects

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++helpannouncement
5 Posts 3 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.
  • T Offline
    T Offline
    thathvamsi
    wrote on last edited by
    #1

    Hey all, I have two differnet projects coded in VC++6.0 version. I want to merge both the projects. How do I do it? ie., Project2 needs to be included in project1. Can the project as a whole be added or just the files, say, include the cpp and .h files from project2 in to project1? What is the best way to do it? Any ideas/help please? Thanks in advance, Anusha.

    M 1 Reply Last reply
    0
    • T thathvamsi

      Hey all, I have two differnet projects coded in VC++6.0 version. I want to merge both the projects. How do I do it? ie., Project2 needs to be included in project1. Can the project as a whole be added or just the files, say, include the cpp and .h files from project2 in to project1? What is the best way to do it? Any ideas/help please? Thanks in advance, Anusha.

      M Offline
      M Offline
      Maxwell Chen
      wrote on last edited by
      #2

      Basically, a "Workspace" in Visual C++ 6, or a "Solution" in Visual C++ 7.0 ~ 8.0, is what for holding one or more projects.


      Maxwell Chen

      T 1 Reply Last reply
      0
      • M Maxwell Chen

        Basically, a "Workspace" in Visual C++ 6, or a "Solution" in Visual C++ 7.0 ~ 8.0, is what for holding one or more projects.


        Maxwell Chen

        T Offline
        T Offline
        thathvamsi
        wrote on last edited by
        #3

        thanks for ur response. But If I include my project2 in my project 1 workspace, then I understand there can be two projects in one work space. But What I need is to use .cpp and .h files from project2 in project1 and build them or can I build the two projects together? Basically my project2 is dialog based and project1 is single document. I want to use the project2dlg.cpp and project2dlg.h and all the relevant files that is dependant in to my project1. Is htere a way I can do it or should I recode my project1 accordingly to just include the files n functions that I want from project2. Hope this is clear. If u need any furhter info. please let me know. Thanks.

        V 1 Reply Last reply
        0
        • T thathvamsi

          thanks for ur response. But If I include my project2 in my project 1 workspace, then I understand there can be two projects in one work space. But What I need is to use .cpp and .h files from project2 in project1 and build them or can I build the two projects together? Basically my project2 is dialog based and project1 is single document. I want to use the project2dlg.cpp and project2dlg.h and all the relevant files that is dependant in to my project1. Is htere a way I can do it or should I recode my project1 accordingly to just include the files n functions that I want from project2. Hope this is clear. If u need any furhter info. please let me know. Thanks.

          V Offline
          V Offline
          Vipin Aravind
          wrote on last edited by
          #4

          Choose your project1 and then do a "add files to the project", point to the files you want to be part of project1. Vipin - MS MVP http://www.explorewindows.com/Blogs/index.php

          T 1 Reply Last reply
          0
          • V Vipin Aravind

            Choose your project1 and then do a "add files to the project", point to the files you want to be part of project1. Vipin - MS MVP http://www.explorewindows.com/Blogs/index.php

            T Offline
            T Offline
            thathvamsi
            wrote on last edited by
            #5

            How do I add my resource file from project2 to project1. Is there a way? or do I have to redo the dialog resource/page in project2 again in project1?

            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