基础: win32应用程序 MFC 支持
刚从 DELPHI 转到 VC。
我从向导里创建了 一个 WIN32 应用程序。
即是:
#include "stdafx.h"
#include "MainForm.h"
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
// TODO: Place code here.
return 0;
}
现在,我想用 MFC 来创建窗口,比如用 CString, CDialog ,
但是,提示老是抱错误。 说是 CDialog 不存在。
我另外创建了一个MFC 应用程序。 拷贝了 .h 文件 到我的 WIN32 应用程序里面去。
可是还是要抱错。 郁闷。
请大狭 解决了。 我是菜鸟。