明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2963|回复: 0

[求助]大家帮忙看看这程序哪错了

[复制链接]
发表于 2006-12-3 20:13 | 显示全部楼层 |阅读模式

[求助]大家帮忙看看这程序哪错了

我刚学C++。net2002开发,这是从网上下的一个例子,代码应该没问题

可我编译是总是不能通过,出现这问题,

已经包含了头文件和库文件,不知道哪出错了,请大家帮忙指教

c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\zmouse.h(148): error C2447: “{” : 缺少函数标题(是否是老式的形式表?)
c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\zmouse.h(148): error C2447: “{” : 缺少函数标题(是否是老式的形式表?)
c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\CommCtrl.h(30): error C2501: “HRESULT” : 缺少存储类或类型说明符
c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\CommCtrl.h(30): error C2501: “HRESULT” : 缺少存储类或类型说明符
c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\CommCtrl.h(30): error C2501: “HRESULT” : 缺少存储类或类型说明符
c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\zmouse.h(141): error C2501: “HWND” : 缺少存储类或类型说明符
c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\zmouse.h(141): error C2501: “HWND” : 缺少存储类或类型说明符
c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\zmouse.h(141): error C2501: “HWND” : 缺少存储类或类型说明符
c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\zmouse.h(142): error C2501: “HwndMSWheel” : 缺少存储类或类型说明符
c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\zmouse.h(142): error C2501: “HwndMSWheel” : 缺少存储类或类型说明符
c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\zmouse.h(142): error C2501: “HwndMSWheel” : 缺少存储类或类型说明符
c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\PrSht.h(98): error C2501: “UINT” : 缺少存储类或类型说明符
c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\PrSht.h(98): error C2501: “UINT” : 缺少存储类或类型说明符
c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\PrSht.h(98): error C2501: “UINT” : 缺少存储类或类型说明符
c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\PrSht.h(98): fatal error C1903: 无法从以前的错误中恢复;正在停止编译
c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\PrSht.h(98): fatal error C1903: 无法从以前的错误中恢复;正在停止编译
c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\PrSht.h(98): fatal error C1903: 无法从以前的错误中恢复;正在停止编译

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-5-3 02:33 , Processed in 1.587226 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表