|
-
May 6th, 1999, 10:36 AM
#1
Calling a Dlg of a Regular Dll from a MFC Ext Dll
I have a Dialog class in a Regular DLL and I want to instantiate it from a MFC Ext Dll. All the entry points of my Regular Dll start with AFX_MANAGE_STATE(GetStaticModuleState()). Still, if when calling the constructor from the MFC Ext DLL, I have torubles. Just as if The module state was not set correctly at construction of a CWnd Object. A workaround is to implement a Global function in the regular Dll that calls the construtor in the scope of the regular Dll.
But, what if I want to code a derived class of this dialog in the MFC Ext Dll ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|