Click here to Skip to main content
15,892,697 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my application iam loading Icons and Dialogs from application itself. Then all are loading properly. But if I put all the resources(dialogs, icons) in a dll and try to load them in application from dll. Thar are not loading . What might be the reason. Please let me know. Thanks in advance
Posted
Comments
Sergey Alexandrovich Kryukov 23-Sep-11 2:28am    
Short answer: you're doing it wrong. Any code to see?
--SA

1 solution

Loading dialogs and other resources require Manually calling of AFX_MANAGE_STATE or you can use Extension DLLs(You can creaate it From Wizard)
Check this articles,


Exporting a MFC Dialog from a DLL

MSDN::Extension DLL
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900