D
dorutzu
Hi,
Could someone tell me why this initialization of a SafeMailItem
(Visual C++) does not work in Outlook 2000, but it does very well in
Outlook XP and 2003:
CLSID clsid;
ISafeMailItemPtr pSafeMail = NULL;
if ((hr = ::CLSIDFromProgID(L"Redemption.SafeMailItem", &clsid)) !=
NOERROR)
return;
if ((hr = ::CoCreateInstance(clsid, NULL, CLSCTX_INPROC_SERVER,
__uuidof(ISafeMailItem), (void**)&pSafeMail)) != S_OK)
return; //here is the problem -> hr = -2147221008
....and of course, help me get on the right track
Thanks a lot,
Doru
Could someone tell me why this initialization of a SafeMailItem
(Visual C++) does not work in Outlook 2000, but it does very well in
Outlook XP and 2003:
CLSID clsid;
ISafeMailItemPtr pSafeMail = NULL;
if ((hr = ::CLSIDFromProgID(L"Redemption.SafeMailItem", &clsid)) !=
NOERROR)
return;
if ((hr = ::CoCreateInstance(clsid, NULL, CLSCTX_INPROC_SERVER,
__uuidof(ISafeMailItem), (void**)&pSafeMail)) != S_OK)
return; //here is the problem -> hr = -2147221008
....and of course, help me get on the right track
Thanks a lot,
Doru