What is the advantage of using CComPtr class. If I use it,is it required for me to call the Release() function of it.
Ex:
CComPtr <IAdd> pAdd;
pAdd->Addition();
pAdd.Release();// Is this really required or not.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 2 of 2
Thread: comThreaded View
|
Click Here to Expand Forum to Full Width |