首页
社区
课程
招聘
[旧帖] gh0st 编程问题 CursorInfo.h 文件出问题 0.00雪花
发表于: 2014-11-28 16:09 6876

[旧帖] gh0st 编程问题 CursorInfo.h 文件出问题 0.00雪花

2014-11-28 16:09
6876
在编译客户端的时候,出现以下错误,好像是导入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解题方法汇总!

收藏
免费 0
支持
分享
最新回复 (14)
雪    币: 6
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
不要沉帖
2014-11-28 16:46
0
雪    币: 40
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
3
顶顶,,,,,
2014-11-29 16:09
0
雪    币: 6
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
4
有人吗,帮我看看这个问题吧
2014-11-29 18:32
0
雪    币: 6
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
5
没人会吗??
2014-11-30 19:11
0
雪    币: 0
活跃值: (40)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
6
源代码都没有怎么找错啊?光看编译输出看不出什么东西来,就知道编译器不认识那些玩意。
2014-11-30 21:19
0
雪    币: 290
活跃值: (383)
能力值: ( LV9,RANK:375 )
在线值:
发帖
回帖
粉丝
7
http://www.cnsec.org/thread-79318-1-1.html
2014-12-1 09:36
0
雪    币: 6092
活跃值: (654)
能力值: ( LV4,RANK:45 )
在线值:
发帖
回帖
粉丝
8
多半是SDK版本不对。你可以从SDK版本入手
2014-12-1 11:21
0
雪    币: 49
活跃值: (261)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
9
编译的问题 看下是否VC目录是不是有问题,  工具---选项----目录    添加全  包含文件和库文件 在编译 就可以。
2014-12-1 15:38
0
雪    币: 0
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
10
不懂帮顶
2014-12-5 14:37
0
雪    币: 37
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
11
可能是没安装sdk,也有可能是包含附加信息缺文件,也可能是包含文件目录出错,我最近也在学,可以看下老狼gh0st教程。
2015-3-19 10:49
0
雪    币: 0
活跃值: (45)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
12
删除ScreenManager.cpp里的
#define _WIN32_WINNT        0x0400
2015-6-19 11:09
0
雪    币: 76
活跃值: (206)
能力值: ( LV2,RANK:15 )
在线值:
发帖
回帖
粉丝
13
SDK 版本问题较多
2015-6-19 12:25
0
雪    币: 76
活跃值: (206)
能力值: ( LV2,RANK:15 )
在线值:
发帖
回帖
粉丝
14
建议你玩 PCSHARE
2015-6-19 12:26
0
雪    币: 3
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
15
看看老狼公开的源码,6.0比较老的版本了,win7编译没有通过,查看下ms里边的参数。
2015-6-21 00:18
0
游客
登录 | 注册 方可回帖
返回
//