|
|
在下初学directX,用VC++6.0编译DXSDK9.0的一个函数DirectInput8Create时出现一个语法错误,两天不能解,请达人指教.万分谢谢.
错误在如下行:
DirectInput8Create(main_hinst,DIRECTINPUT_VERSION,IID_IDirectInput8,&lpdi8,NULL);
错误信息:
d:\debug\input\main.c(12) : error C2115: 'function' : incompatible types
d:\debug\input\main.c(12) : warning C4024: 'DirectInput8Create' : different types for formal and actual parameter 3 |
|