Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have an ATL project, that uses MF

Status
Not open for further replies.

AliAndAli

Programmer
Aug 3, 2002
27
US
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
 
By the way, my application starts a new UI thread and then the new thread creates the dialog.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top