G
Gabriel
Hi, back with another probably trivial question. I want to use Redemption to
access the headers of a message in my ATL/COM add-in. I thought that to set
my ISafeMailItemPtr object I just need to do this:
CComPtr<IDispatch> dispItem;
hr = spSelection->Item(nItem,&dispItem);
Redemption::ISafeMailItemPtr redMailPtr;
redMailPtr->put_Item(dispItem);
However Outlook (2003) crashes with an "abnormal program termination" error.
I know dispItem is getting set correctly as I'm using it elsewhere in that
method without issue. Is there something obvious I'm missing here?
Much obliged as always,
access the headers of a message in my ATL/COM add-in. I thought that to set
my ISafeMailItemPtr object I just need to do this:
CComPtr<IDispatch> dispItem;
hr = spSelection->Item(nItem,&dispItem);
Redemption::ISafeMailItemPtr redMailPtr;
redMailPtr->put_Item(dispItem);
However Outlook (2003) crashes with an "abnormal program termination" error.
I know dispItem is getting set correctly as I'm using it elsewhere in that
method without issue. Is there something obvious I'm missing here?
Much obliged as always,