I am trying to save a mapi message in the onarrival event using
IDataSource, using 2 methods
1. hr=iDsrc->SaveToObject(pStm1,_bstr_t("_Stream"))
2. hr=pDsrc->SaveTo(url + bstr_t(buf) + bstr_t(".eml"),
variant_t((IDispatch*)pConn,true), adModeReadWrite, adCreateNonCollection,
(RecordOpenOptionsEnum) NULL,bstr_t(),bstr_t());
In both the condition return value is 2147467262 (no such interface
supported)
What could be the reason??
Thanks and Regards
Anil.