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
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