combined console32 app and MFC
Hi Again,
If I had a previous application that was created as console32 exe with MFC support.
and I want to call to some functions implemented within that application, from my MFC GUI application.
I do not want to take all the files and build then within my MFC application (to many files and mosts are connected to each other).
On the other hand, combine this project to my MFC project (as active) will be great but i fail to do that (maybe because the other main() function of the exe application??).
I tried to take the .obj of that console app (without the obj with the main()).
and it works but is it the right way ??
Thanks
Yossi
Re: combined console32 app and MFC
Well it's really hard to say what you could do whithout more information ...perhaps you could modify you consol application and put the important things in a static library ( lib ) or in a dynamic library ( dll ) and in this case you will have to do some modifications on your consol app. as well :) :D ... but this is just a suggestion ... :)
Regards,
Gili