Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Close executalbe
Message
De
20/03/2006 13:48:14
 
 
À
20/03/2006 12:43:52
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01105072
Message ID:
01105948
Vues:
31
>I see. How do I release it from the client app?

What do you mean - normal or forced release?

For normal release you need to release an object reference of server instance just like you release VFP objects.
If you use variable to store the reference like:
loServer = CreateObject("My.Server")
Then you need to release the reference like:
RELEASE loServer
- or -
loServer = Null
If you use an object property then you need to set it to .NULL. (or any other value but Null is usual).

Ensure that there are not other variables or properties which contain the reference, otherwise it will be not released.

As for forced release you need to add appropriate method to server, but this is not recommended because other clients will lose connection to server.
/A new technology turns into completely outdated stuff before you have a time to read "Getting Started..." section.
/If there are some "system programmers" then others are unsystematic.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform