R
Rob Schieber
Hey guys,
Quick Question. Lets say Im using the XMLHTTPObject to return an
IStream. In General, is it better to return the object as
CComPtr<IStream> spIstream;
QueryInterface.. &spIstream and not worry about Release, or to use
(IStream*)varValue.punkval then use release? I guess the big question
for me is, should I always use smartpointers to deal w/ COM objects? Or
are there situations where manually using addref/release are better?
TIA
Quick Question. Lets say Im using the XMLHTTPObject to return an
IStream. In General, is it better to return the object as
CComPtr<IStream> spIstream;
QueryInterface.. &spIstream and not worry about Release, or to use
(IStream*)varValue.punkval then use release? I guess the big question
for me is, should I always use smartpointers to deal w/ COM objects? Or
are there situations where manually using addref/release are better?
TIA