Click here to Skip to main content
16,019,983 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How do I create a double pointer to a com object?
Posted
Comments
Richard MacCutchan 5-Dec-12 4:02am    
Probably by writing some code.

If you still cannot do it then try explaining your problem in more detail.

1 solution

The second line does allocate a double pointer :) :
C++
IUnknown* pIUnknown(NULL);
IUnknown** ppIUnknown(&pIUnknown);
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900