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

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,196
Latest member
ScottChare

Latest Threads

Top