I am doing some COM related things with directshow, for example:
typedef CComPtr<IBaseFilter> AutoIBaseFilterPtr;
map<CString, AutoIBaseFilterPtr> _filterMap;
To save a list of com related DirectShow objects and their friendly name.
After finding this article (see: Problem 2) about how changes in the VC10 compiler can affect the previous OK code, I wonder if you no longer need to track when mixing STL and CComPtr, or maybe just mixing STL and COM as a whole.
Any advice would be greatly appreciated, thanks
source
share