Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Apartment Model Thread
Message
From
10/08/1999 09:22:17
 
 
To
09/08/1999 22:53:57
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00251823
Message ID:
00251927
Views:
10
>>>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.
>
>True, but still as quoted directly from his white paper, "Apartment model threading provides a simulation of multi-threading, but does not really make an application truly multi-threaded and reentrant at the binary level as a C++ program."

VFP can't generated free-threaded COM objects; neither can VB, and unless you're careful in coding it, not all C/C++ objects are, either. From a proactical perspective, unless you have asynchronous operations taking place with callbacks and spawning of multiple threads within the COM object, free-threading doesn't buy you a great deal.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform