在编译客户端的时候,出现以下错误,好像是导入ScreenManager.cpp这个文件后产生错误,在网上找了很多方法,结果越弄越麻烦,都牵扯到windows.h的文件,感觉那些方法不对,求大神帮帮忙。感激不尽
e:\remote\common\cursorinfo.h(34) : error C2065: 'IDC_HAND' : undeclared identifier
e:\remote\common\cursorinfo.h(34) : error C2440: 'initializing' : cannot convert from 'int' to 'const char *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
e:\remote\common\cursorinfo.h(65) : error C2065: 'CURSORINFO' : undeclared identifier
e:\remote\common\cursorinfo.h(65) : error C2146: syntax error : missing ';' before identifier 'ci'
e:\remote\common\cursorinfo.h(65) : error C2065: 'ci' : undeclared identifier
e:\remote\common\cursorinfo.h(66) : error C2228: left of '.cbSize' must have class/struct/union type
e:\remote\common\cursorinfo.h(67) : error C2065: 'GetCursorInfo' : undeclared identifier
e:\remote\common\cursorinfo.h(67) : error C2228: left of '.flags' must have class/struct/union type
e:\remote\common\cursorinfo.h(67) : error C2065: 'CURSOR_SHOWING' : undeclared identifier
e:\remote\common\cursorinfo.h(73) : error C2228: left of '.hCursor' must have class/struct/union type
e:\remote\common\cursorinfo.h(76) : error C2228: left of '.hCursor' must have class/struct/union type
e:\remote\maindll\common\loop.h(173) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
ScreenSpy.cpp
e:\remote\maindll\common\screenspy.cpp(484) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Generating Code...
Error executing cl.exe.
Creating browse info file...
BSCMAKE: error BK1506 : cannot open file '.\Debug\ScreenSpy.sbr': No such file or directory
Error executing bscmake.exe.
MainDll.dll - 13 error(s), 11 warning(s)
[课程]Android-CTF解题方法汇总!