VS2005 MFC 导入Microsoft Outllook 2010类型库文件MSOUTL.OLB发生错误
程序代码:
CApplication.h // 从类型库向导中用“添加类”创建的计算机生成的 IDispatch 包装类 #import "C:\\Program Files\\Microsoft Office\\Office14\\MSOUTL.OLB" // CApplication 包装类 class CApplication : public COleDispatchDriver { public: CApplication(){} // 调用 COleDispatchDriver 默认构造函数 CApplication(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} CApplication(const CApplication& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} // 属性 public: // 操作 public: // _Application 方法 public: LPDISPATCH get_Application() { LPDISPATCH result; InvokeHelper(0xf000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); return result; } long get_Class() { long result; InvokeHelper(0xf00a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); return result; } LPDISPATCH get_Session() { LPDISPATCH result; InvokeHelper(0xf00b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); return result; } LPDISPATCH get_Parent() { LPDISPATCH result; InvokeHelper(0xf001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); return result; } LPDISPATCH get_Assistant() { LPDISPATCH result; InvokeHelper(0x114, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); return result; } CString get_Name() { CString result; InvokeHelper(0x3001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); return result; } CString get_Version() { CString result; InvokeHelper(0x116, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); return result; } LPDISPATCH ActiveExplorer() { LPDISPATCH result; InvokeHelper(0x111, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL); return result; } LPDISPATCH ActiveInspector() { LPDISPATCH result; InvokeHelper(0x112, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL); return result; } LPDISPATCH CreateItem(long ItemType) { LPDISPATCH result; static BYTE parms[] = VTS_I4 ; InvokeHelper(0x10a, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, ItemType); return result; } LPDISPATCH CreateItemFromTemplate(LPCTSTR TemplatePath, VARIANT& InFolder) { LPDISPATCH result; static BYTE parms[] = VTS_BSTR VTS_VARIANT ; InvokeHelper(0x10b, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, TemplatePath, &InFolder); return result; } LPDISPATCH CreateObject(LPCTSTR ObjectName) { LPDISPATCH result; static BYTE parms[] = VTS_BSTR ; InvokeHelper(0x115, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, ObjectName); return result; } LPDISPATCH GetNamespace(LPCTSTR Type) { LPDISPATCH result; static BYTE parms[] = VTS_BSTR ; InvokeHelper(0x110, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, Type); return result; } void Quit() { InvokeHelper(0x113, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); } LPDISPATCH get_COMAddIns() { LPDISPATCH result; InvokeHelper(0x118, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); return result; } LPDISPATCH get_Explorers() { LPDISPATCH result; InvokeHelper(0x119, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); return result; } LPDISPATCH get_Inspectors() { LPDISPATCH result; InvokeHelper(0x11a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); return result; } LPDISPATCH get_LanguageSettings() { LPDISPATCH result; InvokeHelper(0x11b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); return result; } CString get_ProductCode() { CString result; InvokeHelper(0x11c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); return result; } LPDISPATCH get_AnswerWizard() { LPDISPATCH result; InvokeHelper(0x11d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); return result; } long get_FeatureInstall() { long result; InvokeHelper(0x11e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); return result; } void put_FeatureInstall(long newValue) { static BYTE parms[] = VTS_I4 ; InvokeHelper(0x11e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue); } LPDISPATCH ActiveWindow() { LPDISPATCH result; InvokeHelper(0x11f, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL); return result; } LPDISPATCH CopyFile(LPCTSTR FilePath, LPCTSTR DestFolderPath) { LPDISPATCH result; static BYTE parms[] = VTS_BSTR VTS_BSTR ; InvokeHelper(0xfa62, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, FilePath, DestFolderPath); return result; } LPDISPATCH AdvancedSearch(LPCTSTR Scope, VARIANT& Filter, VARIANT& SearchSubFolders, VARIANT& Tag) { LPDISPATCH result; static BYTE parms[] = VTS_BSTR VTS_VARIANT VTS_VARIANT VTS_VARIANT ; InvokeHelper(0xfa65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, Scope, &Filter, &SearchSubFolders, &Tag); return result; } BOOL IsSearchSynchronous(LPCTSTR LookInFolders) { BOOL result; static BYTE parms[] = VTS_BSTR ; InvokeHelper(0xfa6c, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, LookInFolders); return result; } void GetNewNickNames(VARIANT * pvar) { static BYTE parms[] = VTS_PVARIANT ; InvokeHelper(0xfa48, DISPATCH_METHOD, VT_EMPTY, NULL, parms, pvar); } LPDISPATCH get_Reminders() { LPDISPATCH result; InvokeHelper(0xfa99, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); return result; } CString get_DefaultProfileName() { CString result; InvokeHelper(0xfad6, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); return result; } BOOL get_IsTrusted() { BOOL result; InvokeHelper(0xfbf3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); return result; } LPDISPATCH GetObjectReference(LPDISPATCH Item, long ReferenceType) { LPDISPATCH result; static BYTE parms[] = VTS_DISPATCH VTS_I4 ; InvokeHelper(0xfbd6, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, Item, ReferenceType); return result; } LPDISPATCH get_Assistance() { LPDISPATCH result; InvokeHelper(0xfc08, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); return result; } LPDISPATCH get_TimeZones() { LPDISPATCH result; InvokeHelper(0xfc29, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); return result; } LPDISPATCH get_PickerDialog() { LPDISPATCH result; InvokeHelper(0xfc65, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); return result; } void RefreshFormRegionDefinition(LPCTSTR RegionName) { static BYTE parms[] = VTS_BSTR ; InvokeHelper(0xfc7f, DISPATCH_METHOD, VT_EMPTY, NULL, parms, RegionName); } // _Application 属性 public: };
编译产生如下错误,网上查了些资料还是无法解决,求高手帮忙啊
1>------ 已启动生成: 项目: ImportTypeLib, 配置: Debug Win32 ------
1>正在编译...
1>ImportTypeLibDlg.cpp
1>e:\notebook\windows c++编程\importtypelib\importtypelib\capplication.h(3) : warning C4278: 'CopyFile': identifier in type library 'C:\\Program Files\\Microsoft Office\\Office14\\MSOUTL.OLB' is already a macro; use the 'rename' qualifier
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6678) : error C2146: syntax error : missing ';' before identifier 'PickerDialog'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6678) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6678) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6680) : error C2146: syntax error : missing ';' before identifier 'Assistance'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6680) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6680) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6690) : error C2146: syntax error : missing ';' before identifier 'Assistant'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6690) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6690) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6696) : error C2146: syntax error : missing ';' before identifier 'COMAddIns'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6696) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6696) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6702) : error C2146: syntax error : missing ';' before identifier 'LanguageSettings'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6702) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6702) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6706) : error C2146: syntax error : missing ';' before identifier 'AnswerWizard'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6706) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6706) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6718) : error C2146: syntax error : missing ';' before identifier 'GetAssistant'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6718) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6718) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6718) : warning C4183: 'GetAssistant': missing return type; assumed to be a member function returning 'int'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6733) : error C2146: syntax error : missing ';' before identifier 'GetCOMAddIns'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6733) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6733) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6733) : warning C4183: 'GetCOMAddIns': missing return type; assumed to be a member function returning 'int'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6736) : error C2146: syntax error : missing ';' before identifier 'GetLanguageSettings'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6736) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6736) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6736) : warning C4183: 'GetLanguageSettings': missing return type; assumed to be a member function returning 'int'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6738) : error C2146: syntax error : missing ';' before identifier 'GetAnswerWizard'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6738) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6738) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6738) : warning C4183: 'GetAnswerWizard': missing return type; assumed to be a member function returning 'int'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6761) : error C2146: syntax error : missing ';' before identifier 'GetAssistance'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6761) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6761) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6761) : warning C4183: 'GetAssistance': missing return type; assumed to be a member function returning 'int'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6763) : error C2146: syntax error : missing ';' before identifier 'GetPickerDialog'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6763) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6763) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6763) : warning C4183: 'GetPickerDialog': missing return type; assumed to be a member function returning 'int'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6984) : error C2146: syntax error : missing ';' before identifier 'CreateContactCard'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6984) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6985) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(6985) : warning C4183: 'CreateContactCard': missing return type; assumed to be a member function returning 'int'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(7868) : error C2146: syntax error : missing ';' before identifier 'CommandBars'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(7868) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(7868) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(7906) : error C2146: syntax error : missing ';' before identifier 'GetCommandBars'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(7906) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(7906) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(7906) : warning C4183: 'GetCommandBars': missing return type; assumed to be a member function returning 'int'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(17798) : error C2146: syntax error : missing ';' before identifier 'CommandBars'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(17798) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(17798) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(17842) : error C2146: syntax error : missing ';' before identifier 'GetCommandBars'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(17842) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(17842) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(17842) : warning C4183: 'GetCommandBars': missing return type; assumed to be a member function returning 'int'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(20856) : error C2556: 'Outlook::AddressEntryPtr Outlook::_AppointmentItem::GetOrganizer(void)' : overloaded function differs only by return type from '_bstr_t Outlook::_AppointmentItem::GetOrganizer(void)'
1> e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(20754) : see declaration of 'Outlook::_AppointmentItem::GetOrganizer'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(20856) : error C2371: 'Outlook::_AppointmentItem::GetOrganizer' : redefinition; different basic types
1> e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(20754) : see declaration of 'Outlook::_AppointmentItem::GetOrganizer'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27393) : error C2143: syntax error : missing ';' before 'Outlook::_Application::GetAssistant'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27393) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27393) : error C2497: 'AssistantPtr' : 'implementation_key' can only be applied to function declarations
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27393) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27403) : error C2143: syntax error : missing ';' before 'Outlook::_Application::GetCOMAddIns'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27403) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27403) : error C2497: 'COMAddInsPtr' : 'implementation_key' can only be applied to function declarations
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27403) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27406) : error C2143: syntax error : missing ';' before 'Outlook::_Application::GetLanguageSettings'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27406) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27406) : error C2497: 'LanguageSettingsPtr' : 'implementation_key' can only be applied to function declarations
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27406) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27408) : error C2143: syntax error : missing ';' before 'Outlook::_Application::GetAnswerWizard'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27408) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27408) : error C2497: 'AnswerWizardPtr' : 'implementation_key' can only be applied to function declarations
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27408) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27420) : error C2143: syntax error : missing ';' before 'Outlook::_Application::GetAssistance'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27420) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27420) : error C2497: 'IAssistancePtr' : 'implementation_key' can only be applied to function declarations
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27420) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27422) : error C2143: syntax error : missing ';' before 'Outlook::_Application::GetPickerDialog'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27422) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27422) : error C2497: 'PickerDialogPtr' : 'implementation_key' can only be applied to function declarations
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27422) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27468) : error C2143: syntax error : missing ';' before 'Outlook::_NameSpace::CreateContactCard'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27468) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27468) : error C2497: 'ContactCardPtr' : 'implementation_key' can only be applied to function declarations
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27468) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27599) : error C2143: syntax error : missing ';' before 'Outlook::_Inspector::GetCommandBars'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27599) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27599) : error C2497: '_CommandBarsPtr' : 'implementation_key' can only be applied to function declarations
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27599) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(29331) : error C2143: syntax error : missing ';' before 'Outlook::_Explorer::GetCommandBars'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(29331) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(29331) : error C2497: '_CommandBarsPtr' : 'implementation_key' can only be applied to function declarations
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(29331) : error C2086: 'int Outlook::_CommandBarsPtr' : redefinition
1> e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(27599) : see declaration of 'Outlook::_CommandBarsPtr'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(29331) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(30009) : error C2556: 'Outlook::AddressEntryPtr Outlook::_AppointmentItem::GetOrganizer(void)' : overloaded function differs only by return type from '_bstr_t Outlook::_AppointmentItem::GetOrganizer(void)'
1> e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(20754) : see declaration of 'Outlook::_AppointmentItem::GetOrganizer'
1>e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(30009) : error C2371: 'Outlook::_AppointmentItem::GetOrganizer' : redefinition; different basic types
1> e:\notebook\windows c++编程\importtypelib\importtypelib\debug\msoutl.tlh(20754) : see declaration of 'Outlook::_AppointmentItem::GetOrganizer'
1>生成日志保存在“file://e:\Notebook\Windows C++编程\ImportTypeLib\ImportTypeLib\Debug\BuildLog.htm”
1>ImportTypeLib - 92 个错误,10 个警告
========== 生成: 0 已成功, 1 已失败, 0 最新, 0 已跳过 ==========