注册 登录
编程论坛 C++教室

新人求助,查看一个程序的代码。编译时出现了一些错误

AVXIAO8 发布于 2011-09-28 14:34, 592 次点击
C:\Documents and Settings\Administrator\桌面\文件\Kris_Code过提示的源码\Server\stdafx.h(23) : error C2065: '__inout' : undeclared identifier
C:\Documents and Settings\Administrator\桌面\文件\Kris_Code过提示的源码\Server\stdafx.h(23) : error C2146: syntax error : missing ')' before identifier 'LPCRITICAL_SECTION'
C:\Documents and Settings\Administrator\桌面\文件\Kris_Code过提示的源码\Server\stdafx.h(23) : error C2165: 'left-side modifier' : cannot modify pointers to data
C:\Documents and Settings\Administrator\桌面\文件\Kris_Code过提示的源码\Server\stdafx.h(23) : error C2071: 'EnterCriticalSectionT' : illegal storage class
C:\Documents and Settings\Administrator\桌面\文件\Kris_Code过提示的源码\Server\stdafx.h(23) : error C2059: syntax error : ')'
C:\Documents and Settings\Administrator\桌面\文件\Kris_Code过提示的源码\Server\stdafx.h(25) : error C2146: syntax error : missing ')' before identifier 'LPCRITICAL_SECTION'
C:\Documents and Settings\Administrator\桌面\文件\Kris_Code过提示的源码\Server\stdafx.h(25) : error C2165: 'left-side modifier' : cannot modify pointers to data
C:\Documents and Settings\Administrator\桌面\文件\Kris_Code过提示的源码\Server\stdafx.h(25) : error C2071: 'DeleteCriticalSectionT' : illegal storage class
C:\Documents and Settings\Administrator\桌面\文件\Kris_Code过提示的源码\Server\stdafx.h(25) : error C2059: syntax error : ')'
C:\Documents and Settings\Administrator\桌面\文件\Kris_Code过提示的源码\Server\stdafx.h(27) : error C2065: '__in' : undeclared identifier
C:\Documents and Settings\Administrator\桌面\文件\Kris_Code过提示的源码\Server\stdafx.h(27) : error C2146: syntax error : missing ')' before identifier 'LPVOID'
求各位大大帮忙
0 回复
1