CComPtr

Joined
Feb 12, 2008
Messages
108
Reaction score
0
Hello everyone,


In the book ATL Internals, it is mentioned, the properties of CComPtr is,

--------------------
Release the encapsulated interface pointer when the class destructor executes;
Automatically releases its interface pointer during exception handling, ...
--------------------

They both means invoking the Relase method (inherited from IUnknown) of the interface?


thanks in advance,
George
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,815
Latest member
treekmostly22

Latest Threads

Top