Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

c++ project reference to source files in another project in the same solution?

$
0
0

I have a solution in VS 2010 that looks like this:

Solution:

-->ProjectA c++ winform generating an exe

-->ProjectB c++ winform generating an exe

ProjectB inherits a Form from ProjectA. Hence, in ProjectB, I reference to ProjectA.

This way, ProjectB.exe will depend en ProjectA.exe and I will need two exe files to run application. Up to now this technique works. However, my goal is to have only one exe not two.

I'm afraid I have to include all source and header files of ProjectA into ProjectB to achieve this.

Or is there a wiser technique in VS 2010?


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>