Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM+ server
Message
 
À
07/09/2004 00:06:21
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00939679
Message ID:
00940059
Vues:
19
>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform