STA Threads (VB6 COM Dlls)

May 8, 2011 at 10:41 AM
Edited May 9, 2011 at 7:26 AM


Can I just ask what the status is wrt using STA Threads. I read on the CodeProject page that there was a problem which would be fixed

I'm thinking of switching to this from COM+. Have others used this successfully as a bridge to (vb6) COM effective (which is how I am using COM+)? My main concern is whether the SmartThreadPool implements the necessary message pumps for STA Threads or whether it uses some other mechanism to get round this requirement. I have read that it is necessary to mod STPStartInfo with a property indicating STA Threading but because that was the only change required, either the message pump has been correctly implemented or it is not there.

Also, are there any sample projects for this?

Many thx


Aug 10, 2011 at 2:45 AM

I have the same problem,How to do with it.




Aug 31, 2011 at 6:38 AM

I invoke the opeeration to my UI thread,the problem be solved

Aug 23, 2012 at 4:11 PM

Added STA/MTA support in STP 2.2.2