>From what I can understand from Strahl's white papers is that the apartment model thread is very much like a stand alone system running in a multi-user environment not true multi threading like something written in C++.
>
>Testing multi-threading with IIS, I called an ASP page that generated a MTDLL com object from two systems simultaneously and each generated a unique thread id, which is correct. However if I bring up one system and then wait for a sufficient time and then bring up another system, both systems will share the same thread ID.
>
>This is what is called "blocking". Each system has to wait for the other system on the thread to finish processing before they can begin processing their request.
>
>Is that why a VFP MTDLL is not considered a true multi threaded com object?
VFP uses apartment model threading because that is what MTS (and now COM+ in Win2000) requires. VB behaves the same way.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer