Adding ATL support to existing mfc application

允我心安 提交于 2019-11-27 07:27:34

问题


I want to implement MFC Docking Framework in my existing mfc application I have taken same trial, but it gives me assertion like

before execution of my project.

In output window a text appears like:

"Performing registration"

and after that appeared below assertion

File: c:\program files\microsoft visual studio.net 2003\vc7\atlmfc\include\atlbase.h Line: 2619 Expression: _pAtlModule == 0


回答1:


For an existing MFC application, you can go to menu Project, Add Class, and under ATL you have an option Add ATL Support To MFC. This should add ATL initialization and the module will no longer be NULL.



来源:https://stackoverflow.com/questions/8046786/adding-atl-support-to-existing-mfc-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!