q15838079260
驱动牛犊
驱动牛犊
  • 注册日期2010-12-09
  • 最后登录2012-05-29
  • 粉丝1
  • 关注2
  • 积分30分
  • 威望231点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:2177回复:2

编译filemon的错误

楼主#
更多 发布于:2010-12-20 19:50
请教一下,我在VC6.0中编译filemon源代码的应用层也就是exe中的filemon.c出现了下列提示,请问怎么解决
1 Compiling...  

2 FILEMON.C  

3 c:\tddownload\filemon\exe\filemon.c(1988) : error C2220: warning treated as error - no object file generated  

4 c:\tddownload\filemon\exe\filemon.c(1988) : warning C4013: 'SetWindowLongPtr' undefined; assuming extern returning int

5 c:\tddownload\filemon\exe\filemon.c(1989) : error C2065: 'GWLP_WNDPROC' : undeclared identifier  

6 c:\tddownload\filemon\exe\filemon.c(1990) : error C2065: 'LONG_PTR' : undeclared identifier  

7 c:\tddownload\filemon\exe\filemon.c(1990) : error C2146: syntax error : missing ')' before identifier 'ListViewSubclass'

8 c:\tddownload\filemon\exe\filemon.c(1990) : error C2059: syntax error : ')'

9 Error executing cl.exe.
q15838079260
驱动牛犊
驱动牛犊
  • 注册日期2010-12-09
  • 最后登录2012-05-29
  • 粉丝1
  • 关注2
  • 积分30分
  • 威望231点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2010-12-20 19:51
希望各位大侠能帮人忙
ggq1988
驱动牛犊
驱动牛犊
  • 注册日期2011-06-30
  • 最后登录2011-07-02
  • 粉丝0
  • 关注0
  • 积分1分
  • 威望11点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2011-06-30 15:25
这是那个函数SetWindowLongPtr的问题 用SetWindowLong这个函数试试 我也是在网上找的ListViewWinMain = (WNDPROC) SetWindowLong(hWndList,
                                          GWL_WNDPROC,
                                          (DWORD)ListViewSubclass);
游客

返回顶部