Hi,
I made a solution using MSVS .NET 2003 that contain two projects. I was wondering if there was a way to call functions or use classes contained in 1 of the project from the other project. Thanks
Amish
Hi,
I made a solution using MSVS .NET 2003 that contain two projects. I was wondering if there was a way to call functions or use classes contained in 1 of the project from the other project. Thanks
Amish
Include the files which contain the functions/classes in the other project. Then in the file which you want to call/create these functions/classes, just include the appropriate header file.
That makes sense. I tried that but I get some problem.Originally Posted by bithub
Let me exlain:
Project A is an MFC project that I did not code.
Project B is also MFC dialog based and is a sort of abstract that makes a parent window and then should spawn multiple project A as child windows and control these windows.
Now project B should be general enough to allow spawning and control of other projects as well. I therefore need a way to use the constructor and create project A without having to import all the files from project A into project B.
I tried just including the main files as quoted above, that is use #include on the header files and add these files to project B but I get linker errors all over the place.
Any thoughts on the matter would be really appreciated. Thanks
Amish