D:\zzx\Microsoft Visual Studio\MyProjects\dialog\dialog.cp…
visual吧
全部回复
仅看楼主
level 1
ahzzx2012 楼主
我在VC6.0下编写的程序:
// #include "stdafx.h"
#include "resource.h"
INT_PTR CALLBACK DlogProc(
HWND hwndDlg, // handle to dialog box
UINT uMsg, // message
WPARAM wParam, // first message parameter
LPARAM lParam // second message parameter
)
{
return FALSE;
}
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{ int DialogBox(hInstance,IDD_DIALOG1,NULL,DlogProc); return 0;
}
编译后出现下列错误提示:
D:\zzx\Microsoft Visual Studio\MyProjects\dialog\dialog.cpp(23) : error C2078: too many initializers
Error executing cl.exe. dialog.exe - 1 error(s), 0 warning(s)
2013年06月12日 01点06分 1
1