P
Peter
Hi,
I have installed Office 2003 and
I try following code placed in external application (not Outlook add-in
dll):
##import "e:\Program Files\Common Files\Microsoft Shared\Office11\mso.dll"
rename_namespace("Office") named_guids, rename("DocumentProperties",
"DocProps" ), raw_interfaces_only, rename("RGB", "OfficeRGB")
#import "f:\Program Files\Microsoft Office\Office11\msoutl.olb"
rename_namespace("Outlook"), exclude("_IRecipientControl",
"_DRecipientControl"), raw_interfaces_only, rename("CopyFile",
"OutlookCopyFile")
Outlook::_ApplicationPtr appPtr = NULL;
hr = appPtr.CreateInstance(__uuidof(Outlook::_Application ));
Result is 0x80040154 (Class not registered)
What is wrong with my code ?
Thanks !
Peter
I have installed Office 2003 and
I try following code placed in external application (not Outlook add-in
dll):
##import "e:\Program Files\Common Files\Microsoft Shared\Office11\mso.dll"
rename_namespace("Office") named_guids, rename("DocumentProperties",
"DocProps" ), raw_interfaces_only, rename("RGB", "OfficeRGB")
#import "f:\Program Files\Microsoft Office\Office11\msoutl.olb"
rename_namespace("Outlook"), exclude("_IRecipientControl",
"_DRecipientControl"), raw_interfaces_only, rename("CopyFile",
"OutlookCopyFile")
Outlook::_ApplicationPtr appPtr = NULL;
hr = appPtr.CreateInstance(__uuidof(Outlook::_Application ));
Result is 0x80040154 (Class not registered)
What is wrong with my code ?
Thanks !
Peter