Does COM marshaling work with objects created using CComCoClass::CreateInstance?

Viewed 53

Sorry if this is a dumb question, but I was wondering if the COM pointer-marshaling functions will work with objects created using ATL's CComCoClass::CreateInstance. According to the docs, that method will "create an instance of a COM object and retrieve an interface pointer without using the COM API." Does that mean its pointer interfaces can't be properly marshaled using COM functions? Thanks for any info.

0 Answers
Related