I have an ATL project, that uses MFC. If I link statically to MFC everything is fine, but if I set my project setting to use MFC in a shared DLL, then when I try to bring up a dialog, I fail with an Assertion failure. This is very similar to the problems in coding a dll where one has to use AFX_MANAGE_STATE to make the resource to refer to that of the dll than to a resource in someother module. But, I cannot figure out how to solve this problem. Any ideas?
Thx
Thx