【VC开源代码栏目提醒】:网学会员鉴于大家对VC开源代码十分关注,论文会员在此为大家搜集整理了“App.cpp”一文,供大家参考学习
#include <afxwin.h>
#include "Dlg.h"
class CApp : public CWinApp
{
public:
BOOL InitInstance()
{
//创建对话窗口,对话窗口是由构造函数生成的
CDlg dlg;
m_pMainWnd = &dlg;
//显示对话窗口
dlg.DoModal();
return FALSE;
}
};
CApp theApp;
上一篇:
ApiCommDlg.cpp
下一篇:
10years匿名社交网