Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple instances of VFP .DLL - all share open tables?
Message
 
À
22/06/1998 10:33:50
Alastair Cameron
Farpoint Software Development Limited
Edinburgh, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00110547
Message ID:
00110828
Vues:
129
>Hi.
>
>I only recently realised that multiple instances of a VFP 5 ActiveX automation server that you build as a DLL (and for all I know,.EXE) share the same data environment (i.e. open tables, databases).

If you're running multiple instances of a DLL server they share the
same runtime. Yes, they get different copies of the class data, but
many globals including the master datasession are shared.

EXE servers do not have this problem as each instance gets its own copy
of the runtime. That is if you build the server as a Single Instance
server. Multi-Instance servers share a single copy between many objects
and again you may end with data session interaction between instances.

Really, the only safe way to get separate servers is to use
Single Use EXE servers (potentially iwth a pool manager to simulate
simultaneous access).
+++ 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