return ATL Com Interface From COM Method

45 Views Asked by At

i returned an ATL COM Interface from another CO Method from C++ to C#, but I don't know how correctly I should manage the lifetime of the object that I created from c++, should I cache it and release it when the main interface released?

0

There are 0 best solutions below