大家帮帮忙ObjARX2006+VS2002.net怎么做对话框啊?
我直接编译C:\ObjectARX 2006\samples\com\AsdkMfcComSamp_dg中的例子
总是出错
C:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\zmouse.h(141): error C2433: “HWND” : 不允许在数据声明中使用“inline” C:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\zmouse.h(141): error C2146: 语法错误 : 缺少“;”(在标识符“HwndMSWheel”的前面) 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 C2065: “PUINT” : 未声明的标识符 C:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\zmouse.h(142): error C2146: 语法错误 : 缺少“)”(在标识符“puiMsh_MsgMouseWheel”的前面) 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(147): error C2059: 语法错误 : “)” C:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\zmouse.h(148): error C2143: 语法错误 : 缺少“;”(在“{”的前面) 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 C2146: 语法错误 : 缺少“;”(在标识符“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\PrSht.h(98): error C2065: “CALLBACK” : 未声明的标识符 C:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\PrSht.h(98): error C2065: “LPFNPSPCALLBACKA” : 未声明的标识符 C:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\PrSht.h(98): error C2296: “*” : 非法,左操作数包含“'unknown-type'”类型 C:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\PrSht.h(98): error C2297: “*” : 非法,右操作数包含“'unknown-type'”类型 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: 无法从以前的错误中恢复;正在停止编译
不知道怎么回事,大家帮帮忙啊! |