heminghui 发表于 2006-12-3 20:13:00

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

<P>[求助]大家帮忙看看这程序哪错了</P>
<P>我刚学C++。net2002开发,这是从网上下的一个例子,代码应该没问题</P>
<P>可我编译是总是不能通过,出现这问题,</P>
<P>已经包含了头文件和库文件,不知道哪出错了,请大家帮忙指教</P>
<P>c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\zmouse.h(148): error C2447: “{” : 缺少函数标题(是否是老式的形式表?)<BR>c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\zmouse.h(148): error C2447: “{” : 缺少函数标题(是否是老式的形式表?)<BR>c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\CommCtrl.h(30): error C2501: “HRESULT” : 缺少存储类或类型说明符<BR>c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\CommCtrl.h(30): error C2501: “HRESULT” : 缺少存储类或类型说明符<BR>c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\CommCtrl.h(30): error C2501: “HRESULT” : 缺少存储类或类型说明符<BR>c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\zmouse.h(141): error C2501: “HWND” : 缺少存储类或类型说明符<BR>c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\zmouse.h(141): error C2501: “HWND” : 缺少存储类或类型说明符<BR>c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\zmouse.h(141): error C2501: “HWND” : 缺少存储类或类型说明符<BR>c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\zmouse.h(142): error C2501: “HwndMSWheel” : 缺少存储类或类型说明符<BR>c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\zmouse.h(142): error C2501: “HwndMSWheel” : 缺少存储类或类型说明符<BR>c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\zmouse.h(142): error C2501: “HwndMSWheel” : 缺少存储类或类型说明符<BR>c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\PrSht.h(98): error C2501: “UINT” : 缺少存储类或类型说明符<BR>c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\PrSht.h(98): error C2501: “UINT” : 缺少存储类或类型说明符<BR>c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\PrSht.h(98): error C2501: “UINT” : 缺少存储类或类型说明符<BR>c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\PrSht.h(98): fatal error C1903: 无法从以前的错误中恢复;正在停止编译<BR>c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\PrSht.h(98): fatal error C1903: 无法从以前的错误中恢复;正在停止编译<BR>c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\PrSht.h(98): fatal error C1903: 无法从以前的错误中恢复;正在停止编译<BR></P>
页: [1]
查看完整版本: [求助]大家帮忙看看这程序哪错了