Advertisement

Direct X 8.1 SDK AppWizard

Started by June 13, 2002 12:52 PM
0 comments, last by AdamStriker 22 years, 5 months ago
Okay, so I just made an AppWizard project, did my includes, and now I get an error message. cannot convert parameter 4 from ''long (struct HWND__ *,unsigned int,unsigned int,long)'' to ''int (__stdcall *)(struct HWND__ *,unsigned int,unsigned int,long)'' Did I do something wrong or should I just go in and change int to long?
There is a problem with your calling convention, _stdcall in this case. Correct this by specifying it in your function declaration...

long _stdcall foo()

for example.

Regards,
Mathematix.

This topic is closed to new replies.

Advertisement