parkie,
I downloaded your RawDlg project that you posted here and run it on VC++ 6.0, I got an error of:
c:\.....\rawdlg.cpp(26) : error C2664: 'CreateDialogParamA' : cannot convert parameter 4 from 'long (struct HWND__ *,unsigned int,unsigned int,long)' to 'int (__stdcall *)(struct HWND__ *,unsigned int,unsigned i
The error occurs on this line of code:
if((ghWnd_Main = CreateDialog(hInstance, MAKEINTRESOURCE(IDD_MAIN), NULL, DlgProc)), ghWnd_Main) {.......
Do you know why? Thank you very much.




Reply With Quote