Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Close executalbe
Message
De
20/03/2006 15:23:58
 
 
À
20/03/2006 13:48:14
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:
01105975
Vues:
25
>>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.
I am setting up an object property to NULL and it's not releasing the server.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform