danik
April 11th, 1999, 04:48 PM
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
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