The Joel on Software Discussion Group (CLOSED)

A place to discuss Joel on Software. Now closed.

This community works best when people use their real names. Please register for a free account.

Other Groups:
Joel on Software
Business of Software
Design of Software (CLOSED)
.NET Questions (CLOSED)
TechInterview.org
CityDesk
FogBugz
Fog Creek Copilot


The Old Forum


Your hosts:
Albert D. Kallal
Li-Fan Chen
Stephen Jones

Calling free-threaded in-proc COM objects in VB6

Hi,

I know that VB6 does not support MTAs in COM, but can an in-process VB6 COM client create an in-process free-threaded COM object in the process MTA?  The parent application is COM+  I assume that the object is created in the MTA and accessed via a proxy object in the STA, but just wanted to check that this is correct ...
Claire Wallis Send private email
Thursday, May 14, 2009
 
 
I did read once that VB5 (and VB6 too, probably!) can create multithread apps except that they cannot have a UI (or be form-based). In fact, I tried experimenting with the MT sample and it does work! Suggest you try googling : multithread  + VB5 + VB6
Ezani Send private email
Thursday, May 14, 2009
 
 
It's been a few years since I did COM, but I think an in-proc free-threaded object doesn't have a proxy object, it uses whatever thread is calling it. And since VB only has the one thread, it should work fine. Try it and find out...
CC Send private email
Friday, May 15, 2009
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz