|
|
我写了程序,其中一段代码如下
m_hwnd_dialog=CreateDialog(NULL,MAKEINTRESOURCE(IDD_DIALOG1),NULL,DialogProc1);
DLGPROC CMyD3DApplication: ialogProc1(HWND hwndDlg, // handle to dialog box
UINT uMsg, // message
WPARAM wParam, // first message parameter
LPARAM lParam )
{
//return true;
}
编译时总是出错
error C2664: 'CreateDialogParamA' : cannot convert parameter 4 from 'int (struct HWND__ *,unsigned int,unsigned int,long)' to 'int (__stdcall *)(struct HWND__ *,unsigned int,unsigned int,long)'
None of the functions with this name in scope match the target type |
|