|
-
Mar 7th, 2001, 02:32 PM
#1
Thread Starter
Addicted Member
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.
substring.
VB6, C++, SQL, HTML, XML, ASP
-
Mar 7th, 2001, 02:33 PM
#2
Thread Starter
Addicted Member
Oops, sorry parksie, I mis-spelled your name.
substring.
VB6, C++, SQL, HTML, XML, ASP
-
Mar 7th, 2001, 03:35 PM
#3
Monday Morning Lunatic
If you don't have the Platform SDK replace INT_PTR on the definition for DlgProc with int.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|