amac
Apr 30th, 2002, 07:44 PM
Alright, this is what I am trying to do.
I've created a MFC-DLL with one exported function...
DoSomething()..
In DoSomething() it initialize and SDI/MDI application using MFC same as what would be found in your InitInstance() of the application object.
That way I can have the application contained in a DLL, so that I can open this application from with in a "parent" application from say a menu item ( I don't wanna spawn an executable ). But I could also have a separate executable which only calls the DoSomething() function.
If you are familiar with how the ODBC Administrator works it's the same idea.
I guess what I am asking is... is it possible? Or does the MFC Framework not allow it.
If the only comment you have is how MFC sucks, and API is better... please start a new thread for that. I know doing something like this is easy using API, but the time it would take me to create the interface as aposed to using MFC is why I'd like to stay away from API... if possible....
I've created a MFC-DLL with one exported function...
DoSomething()..
In DoSomething() it initialize and SDI/MDI application using MFC same as what would be found in your InitInstance() of the application object.
That way I can have the application contained in a DLL, so that I can open this application from with in a "parent" application from say a menu item ( I don't wanna spawn an executable ). But I could also have a separate executable which only calls the DoSomething() function.
If you are familiar with how the ODBC Administrator works it's the same idea.
I guess what I am asking is... is it possible? Or does the MFC Framework not allow it.
If the only comment you have is how MFC sucks, and API is better... please start a new thread for that. I know doing something like this is easy using API, but the time it would take me to create the interface as aposed to using MFC is why I'd like to stay away from API... if possible....