HRESULT hr; IMyComInterface *piy_1, *piy_2; piy_1 = get an interface pointer to IMyComInterface; piy_2 = piy_1; … piy_1->Release(); piy_2->Release();
Write or paste your answer in the text area below. When you are done, click the Submitbutton to submit your answer.