向现有 mfc 应用程序添加 ATL 支持 [英] Adding ATL support to existing mfc application

查看:38
本文介绍了向现有 mfc 应用程序添加 ATL 支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想实现MFC Docking Framework在我现有的 mfc 应用程序中我接受了同样的审判,但它给了我这样的断言

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

在执行我的项目之前.

在输出窗口中,文本显示如下:

In output window a text appears like:

执行注册"

然后出现在断言下面

文件:c:program filesmicrosoft visual studio.net 2003vc7atlmfcincludeatlbase.h线路:2619表达式:_pAtlModule == 0

File: c:program filesmicrosoft visual studio.net 2003vc7atlmfcincludeatlbase.h Line: 2619 Expression: _pAtlModule == 0

推荐答案

对于现有的 MFC 应用程序,您可以转到菜单 ProjectAdd Class,然后在 ATL 你有一个选项Add ATL Support To MFC.这应该添加 ATL 初始化,模块将不再是 NULL.

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.

这篇关于向现有 mfc 应用程序添加 ATL 支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆