merge two projects
-
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.
-
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.
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
-
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
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.
-
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.
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
-
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
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?