|
-
April 11th, 1999, 04:48 PM
#1
Dialog doesn't show in explicitly loaded dll
Hi,
I have a control panel applet that shows a dialog by calling an exported function with a LoadLibrary and GetProcAddress. This "C" externed function resides in a dll that is dynamicaly linked to MFC. The control panel applet is a simple win32 dll.
As the documentation reads, I am calling "AFX_MANAGE_STATE(AfxGetStaticModuleState());" at the begining of the function.
The _DEBUG version works fine. The release does not.
In the release version, the dialog never show up. The return value from DoModal is IDABORT.
Any ideas?
TIA
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
|