on CComQIPtr- April 10, 2007 You're writing some code that uses COM. Do you use SmartPointers or not use SmartPointers Debate on this topic flares up now and then. The trick to answering it is to seperate the technical facts from stubbornly held beliefs. Like any technology, there is a right time and a wrong time to use it. But that's not what I want to talk about today. Let's assume you've decided to use SmartPointers. I posit that CComPtr<> is good and...http://blogs.msdn.com/jeffdav/archive/2007/04/10/on-ccomqiptr.aspx |