在win32 application工程中,怎么可以派生出 theApp类呢?是否可以直接使用mfc封装的类?
我在新建的问win32 application中,添加了别人写的一段代码,其中他用class CMyApp : public CWinApp
{
public:
virtual BOOL InitInstance();
};
CWinApp不是MFC封装的类吗,怎么在win2 application中直接可以用。随后我看见它加了#include <afxwin.h>头文件,我就想知道,是不是只要添加了MFC中的头文件,就可以在win32工程中使用它的类成员了。谢谢。