| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 885 人关注过本帖
标题:《windows程序设计》上的例子
取消只看楼主 加入收藏
功夫熊猫
Rank: 2
等 级:论坛游民
帖 子:54
专家分:30
注 册:2010-7-14
结帖率:78.57%
收藏
已结贴  问题点数:20 回复次数:0 
《windows程序设计》上的例子
c:\documents and settings\administrator\sysmets.h(146) : error C2065: 'SM_MOUSEWHEELPRESENT' : undeclared identifier
c:\documents and settings\administrator\sysmets.h(146) : error C2099: initializer is not a constant
c:\documents and settings\administrator\sysmets.h(146) : warning C4047: 'initializing' : 'int ' differs in levels of indirection from 'char [21]'
c:\documents and settings\administrator\sysmets.h(148) : error C2065: 'SM_XVIRTUALSCREEN' : undeclared identifier
c:\documents and settings\administrator\sysmets.h(148) : error C2099: initializer is not a constant
c:\documents and settings\administrator\sysmets.h(149) : warning C4047: 'initializing' : 'int ' differs in levels of indirection from 'char [24]'
c:\documents and settings\administrator\sysmets.h(150) : error C2065: 'SM_YVIRTUALSCREEN' : undeclared identifier
c:\documents and settings\administrator\sysmets.h(150) : error C2099: initializer is not a constant
c:\documents and settings\administrator\sysmets.h(152) : error C2065: 'SM_CXVIRTUALSCREEN' : undeclared identifier
c:\documents and settings\administrator\sysmets.h(152) : error C2099: initializer is not a constant
c:\documents and settings\administrator\sysmets.h(152) : warning C4047: 'initializing' : 'int ' differs in levels of indirection from 'char [19]'
c:\documents and settings\administrator\sysmets.h(154) : error C2065: 'SM_CYVIRTUALSCREEN' : undeclared identifier
c:\documents and settings\administrator\sysmets.h(154) : error C2099: initializer is not a constant
c:\documents and settings\administrator\sysmets.h(155) : warning C4047: 'initializing' : 'int ' differs in levels of indirection from 'char [22]'
c:\documents and settings\administrator\sysmets.h(156) : error C2065: 'SM_CMONITORS' : undeclared identifier
c:\documents and settings\administrator\sysmets.h(156) : error C2099: initializer is not a constant
c:\documents and settings\administrator\sysmets.h(158) : error C2065: 'SM_SAMEDISPLAYFORMAT' : undeclared identifier
c:\documents and settings\administrator\sysmets.h(158) : error C2099: initializer is not a constant
c:\documents and settings\administrator\sysmets.h(158) : warning C4047: 'initializing' : 'int ' differs in levels of indirection from 'char [21]'
c:\documents and settings\administrator\sysmet1.c(3) : warning C4005: 'WINVER' : macro redefinition
        c:\program files\microsoft visual studio\vc98\include\windows.h(22) : see previous definition of 'WINVER'
c:\documents and settings\administrator\sysmet1.c(73) : error C2039: 'iIndex' : is not a member of '__unnamed'
        c:\documents and settings\administrator\sysmets.h(3) : see declaration of '__unnamed'
c:\documents and settings\administrator\sysmet1.c(73) : error C2198: 'GetSystemMetrics' : too few actual parameters
执行 cl.exe 时出错.


这是《windows程序设计》第五版上的一个例子,复制到vc6里面怎么有误?看过这本书(电子版)的大虾指点指点。。。谢了
搜索更多相关主题的帖子: windows 程序设计 例子 
2010-11-06 23:05
快速回复:《windows程序设计》上的例子
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.029776 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved