Member variable pointers to COM objects
Posted
by drelihan
on Stack Overflow
See other posts from Stack Overflow
or by drelihan
Published on 2010-04-20T11:28:37Z
Indexed on
2010/04/20
11:33 UTC
Read the original article
Hit count: 394
Hi Folks, Is there any problem with keeping member variable pointer refernces to COM objects and reussing the reference through out the class in C++.
Is anybody aware of a reason why you would want to call .CreateInstance every time you wanted a to use the COM object i.e. you were getting a fresh instance each time.
I cannot see any reason who you would want to do this,
Thanks,
(No is an acceptable answer!!!)
© Stack Overflow or respective owner