Board index » Visual Studio » Merging Projects ?

Merging Projects ?

Visual Studio15
Hi, again,



I created two dialog projects in a single workspace. My intent was to

merge them into a single project (the main dialog from one being called

from the other). The idea being that, by having both projects merged

into a single entity, the data transfer is possible between sections.



Although I took care to have resource.h use an independent set of

values, (even IDC_MAINFRAME vs IDC_MAINFRAME_II), I have been stymied by

the two independent resource (.rc) files (only one is allowed).



My current solution is to use ShellExecute(). Is there a way I can add

one dialog to the other, or is too late?



Balboos


-
 

Re:Merging Projects ?

Balboos,



If you want them permanently in the same project, just copy the resources

from one project to the other. Shuffle over everything from one rc-file to

the other, and do the same with the contents of the two resource.h. You can

also, if you use MSVC++ 6, open the main project, and open the resource file

of the second one, dragging resources from it. Then, include the

source-files from one project to the other, and you are finished.



Johan Rosengren

Abstrakt Mekanik AB



"Balboos" <balboos@masonicbrother.com.No.Spam>a écrit dans le message de

Quote
Hi, again,



I created two dialog projects in a single workspace. My intent was to

merge them into a single project (the main dialog from one being called

from the other). The idea being that, by having both projects merged

into a single entity, the data transfer is possible between sections.



Although I took care to have resource.h use an independent set of

values, (even IDC_MAINFRAME vs IDC_MAINFRAME_II), I have been stymied by

the two independent resource (.rc) files (only one is allowed).



My current solution is to use ShellExecute(). Is there a way I can add

one dialog to the other, or is too late?



Balboos







-