ActiveX Lib Thread Advice Please...

2003-11-26 12:45:36 AM
I've written a communications dll which for the most part works well. I've
been trying to add an ActiveX interface for the dll but I can't get it to
work the way I want to.
I thought that if an object had an ActiveX interface, then it would
automatically run in its own thread. I think I'm wrong with this
assumption? I know out-of-process ActiveX modules run in their own thread
because it's a different process space.
Is there an in-process ActiveX model that automatically creates the object
in its own thread, or do I need to write the threading part myself?
Thanks for any advice!