Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM+ server
Message
 
To
07/09/2004 00:06:21
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00939679
Message ID:
00940059
Views:
21
>I already used an out-of-process EXE COM, but I observed that on the server side, there was a different instance for each client. Maybe I did somethng wrong and I will try it again.
>Thanks for your answer.


Yes you're doing something wrong - you need to compile the server as a MULTIUSE server. It will work as a singleton in that case.

+++ Rick ---


>
>Florin
>
>>Florin,
>
>>You can do what you want, but COM+ is not the way to do it. You can do this easily with an EXE COM component and setting it to Multi-use which is basically a Singleton object (multiple use of a single object) - each reference to it will be pointed at a single EXE.
>
>>I can't remember now - I think a non-MT DLL can do this too within a single process by setting the server to SingleUse (Single Instances of the object).
>
>>I know it sounds confusing but EXE and DLL servers behave completely opposite meanings in this case...
>
>>+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform