简体   繁体   中英

Adding ATL support to existing mfc application

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

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 .

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM