September 5th, 2012, 04:27 PM
A question regarding AFX_MANAGE_STATE
As we know, if you want to launch a dialog from a dll, you have to call AFX_MANAGE_STATE to switch module state from current module state to dll module state. Here is the code,
Now if I want to launch another dialog called CYourDialog from CMyDialog and CYourDialog is defined from different module state, then DoModal would fail for CYourDialog. Is there any way to make DoModal work for CYourDialog in this case? Thanks.
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!