views:

132

answers:

0

Can anyone give me a definitive answer as to whether I need to use something like CoMarshalInterThreadInterfaceInStream, CoGetInterfaceAndReleaseStream or GlobalInterfaceTable to marshall a COM interface between threads? In this thread some say interop does it for you, some say you need to use these calls. Which is it?

Specifically I'm using various IHTMLxxx objects from mshtml while developing a Browser Helper Object within IE. I've never used methods like CoMarshalInterThreadInterfaceInStream, and never been aware of any problems this has caused. But perhaps it could be the cause of some intermittent un-repeatable problems...

thanks.