Advice when using COM Object/CComPtr and the STL

Posted by YoungPony on Stack Overflow See other posts from Stack Overflow or by YoungPony
Published on 2010-04-27T08:28:08Z Indexed on 2010/04/27 8:33 UTC
Read the original article Hit count: 512

Filed under:
|
|

Hello, I am doing some COM related things with directshow such as:

typedef CComPtr<IBaseFilter> AutoIBaseFilterPtr;
map<CString, AutoIBaseFilterPtr> _filterMap;

To store a list of directShow related com objects and their friendly name.

After finding this article (See:Problem 2) on how changes in VC10 compiler might effect previously OK code, I am wondering if there are any more things to watch out for when mixing the STL and CComPtr or prehaps just mixing the STL and COM in general.

Any tips would be greatly appreciated, thanks

© Stack Overflow or respective owner

Related posts about com

Related posts about c++