Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM shares client data session
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00271639
Message ID:
00271676
Vues:
24
This is normal, you are accessing the same server from both client. To start a separate server for each client, go to Project|Project Info... click on the Servers tab and change the Instancing combo from "Multi Use" to "Single Use".

HTH
>If I open a table, change aliases, record pointer, etc., on one client it is changed on all clients.
>
>oCom = CREATEOBJECTEX("MyCom.MyComClass","\\SERVER") && returns object ref.
>*-* I have a method that executes and VFP command or function
>?oCom.Exec("ALIAS()",.T.) && Returns current alias
>?oCom.Exec("USE MyTabel") && or something like this - Returns .T.
>
>here is my stripped down Exec function:
>LPARAMETERS tcCommand, tlReturn
>LOCAL lValue
>lValue = .T.
>IF tlReturn && get a return value
> lValue = &tcCommand
>ELSE
> &tcCommand
>ENDIF
>RETURN lValue
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform