I have a "mfc extension dll" that has a dialog resource, and want to display a dialog.
So I go this way:
... in my client app
This works very fine.
Now I want a VC9 COMPILED project to use this dll, display the dialog using DoModal() etc.
How can I achieve this ?
The problem starts with assertion:
afxwin1.inl, line 22 ASSERT(afxCurrentResourceHandle != NULL);
won't fix this problem
AfxSetResourceHandle(..) - is already used, works fine with vc6 app
AFX_MANAGE_STATE - no need for this, it's already a mfc extension dll
Seems tough - Can you help ?