Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple instances of VFP Server DLL shares all open tab
Message
 
À
22/06/1998 10:36:14
Alastair Cameron
Farpoint Software Development Limited
Edinburgh, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00110548
Message ID:
00110829
Vues:
14
>x = create("myvfpserver.class)
>x.opentables
>
>and then do:
>
>y = create("myvfpserver.class)

This is not officially supported by VFP 5.0. The reason is that that VFP
is not thread safe and corrupts global data between sessions. You may
remember my advice a while back to not run VFP 5 components in MTS -
this is why. I think this didn't even work in the original VFP5 versions.
Creating a second instance would create an error - I think that was
changed in one of the service packs (SP3 I'm guessing).

VFP 6.0 addresses this problem, although not very well. You can create
multiple instances in VFP 6 and keep things private. But, you can't
call methods of your server simultaneously - they block while another
call is active and are essentially serialized.

+++ 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
Répondre
Fil
Voir

Click here to load this message in the networking platform