Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updated MS VFP Strategy Backgrounder
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00186380
Message ID:
00186732
Views:
11
>Oh... I thought the capability to field more than one request simultaneously was apartment model threading (in and of itself).

Not exactly. DLLs that fit into the Apartment threading model are considered "aparmtent aware" and can be placed in the same MTS package with other components of the same model. VFP servers fit into this model. You can see for yourself by compiling a VFP server (in 6.0) and looking at its Registry setting under
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{yourguidhere}\InProcServer32

and looking at the value of the "ThreadingModel" key. Sure enough, its "Apartment"

So you can use VFP servers in MTS as apartment aware servers, it's just that when it comes down to business, they don't play right yet. They block concurrent calls.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform