Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object pooling in COM+
Message
 
 
To
19/12/2000 11:18:23
Marco Beuk
Innovero Software Solutions
The Hague, Netherlands
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00455028
Message ID:
00455084
Views:
35
>>>I have a compiled a multi-threaded dll in VFP and registered that dll in COM+.
>>>When i look at the properties I see the threading model is Single Thread Apartment and i can't enable object pooling.
>>>
>>>Is this right? Can't i enable an object pool for my dll?
>>
>>Object pooling is only available to C++ - created DLL's. (free-threaded model)
>
>This is what a microsoft article sais:
>
>For Transaction Server to create the pool of running instances, COM components must support apartment model threading. Visual FoxPro 6.0 COM components are apartment model threaded and fully support Transaction Server. Developers can build middle-tier COM components with Visual FoxPro 6.0 and scale them to hundreds of users and more.
>
>URL: http://msdn.microsoft.com/vfoxpro/prodinfo/evaluation/performance.asp

You can write MTS/COM+ components using VFP but they can not be configured for object pooling. See the following about requirements for object pooling:

http://msdn.microsoft.com/library/psdk/cossdk/pgservices_objectpooling_2e43.htm

It talks about VB but VFP is the same in that it creates apartment threaded objects.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform