Direct X 8.1 SDK AppWizard

Started by
0 comments, last by AdamStriker 21 years, 10 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?
Advertisement
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