[求助]大家帮忙看看这程序哪错了
我刚学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: 无法从以前的错误中恢复;正在停止编译
|