|
小弟我刚刚接触vc+dx的编程.
从书上搞了个程序,编译报错:
安装的是dxsdk8.1.vc工具->选择设定好了的
可是编译报错:
-------------------Configuration: study_1 - Win32 Debug--------------------
Compiling...
DEMO6_1.CPP
E:\源码\SOURCE\T33FDC~1\DEMO6_1.CPP(58) : error C2146: syntax error : missing ';' before identifier 'lpdd'
E:\源码\SOURCE\T33FDC~1\DEMO6_1.CPP(58) : error C2501: 'LPDIRECTDRAW7' : missing storage-class or type specifiers
E:\源码\SOURCE\T33FDC~1\DEMO6_1.CPP(58) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
DEMO6_1.OBJ - 3 error(s), 0 warning(s)
-----------------------------------------------------------------------------------
请大侠们帮帮我 |
|