编译器提示如下所述:CDDraw.cpp
c:\documents and settings\administrator\桌面\第03章代码\cddraw类\cddraw.h(22) : fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 1786)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
执行 cl.exe 时出错.CDDraw.exe - 1 error(s), 0 warning(s)请高手帮忙!
是哪里出了问题?
c:\documents and settings\administrator\桌面\第03章代码\cddraw类\cddraw.h(22) : fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 1786)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
执行 cl.exe 时出错.CDDraw.exe - 1 error(s), 0 warning(s)请高手帮忙!
是哪里出了问题?
解决方案 »
- vs2008如何在有错误的情况下使调试时不出现上次无错时的结果??
- 请问这段代码debug的unicode为什么不能捕获住异常?
- 送分问题
- NetApiBufferFree 的问题!
- 高手帮忙呀,我用VC++编的DLL文件的源码,被误删除了,请问有办法通过DLL文件恢复出源码吗?急死我了。
- 如何让鼠标指针变成等待状态?漏斗?
- 一个十分怪异的问题,见识广的达人请进
- 怎样主动触发WM_DRAWITEM消息?
- 程序运行报错 this application has requested the runtime
- 把字符串“0C”转换为10进制12,咋转啊?
- VC做一个Agent取得SQL Server2000的信息,请大家给方案!谢谢
- 谁知道国外网页防篡改产品有哪些?
但是在编译的时候却出现了很多类似的编译错误,亟待高手指教!!代码如下:
CDDraw.cpp
c:\使用cddraw类\cddraw.h(22) : error C2146: syntax error : missing ';' before identifier 'lpDD'
c:\使用cddraw类\cddraw.h(22) : error C2501: 'LPDIRECTDRAW7' : missing storage-class or type specifiers
c:\使用cddraw类\cddraw.h(22) : error C2501: 'lpDD' : missing storage-class or type specifiers
c:\使用cddraw类\cddraw.h(23) : error C2146: syntax error : missing ';' before identifier 'lpDDSPrimary'
c:\使用cddraw类\cddraw.h(23) : error C2501: 'LPDIRECTDRAWSURFACE7' : missing storage-class or type specifiers
c:\使用cddraw类\cddraw.h(23) : error C2501: 'lpDDSPrimary' : missing storage-class or type specifiers
然后检查头文件的包含是不是正确,包括在VS的环境目录设置
然后再检查一下有没有少打一个分号之类的看看。