本文介绍了我可以在非CWinApp DLL中创建CWinApp样式的应用程序对象吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在MFC EXE或DLL中,你(可以)有一个 extern -alised theApp 全局对象来访问成员您的应用程序类。



我正在通过他们的SDK为第三方软件开发一个加载项DLL。我必须使用的App类不是从CWinApp派生的。如何创建一个指向App类(单实例)的简单全局指针?

In an MFC EXE or DLL you (can) have an extern-alised theApp global object to access members of your application class.

I'm developing an add-in DLL for third-party software, via their SDK. The App class I must use is not derived from CWinApp. How can I create a simpilar global pointer to the (single-instance) of the App class?

推荐答案


这篇关于我可以在非CWinApp DLL中创建CWinApp样式的应用程序对象吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-01 02:27