Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Local variables...
Message
De
09/01/2002 12:57:58
 
 
À
09/01/2002 08:15:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00602443
Message ID:
00602592
Vues:
22
>If I create a COM object locally in a form method i.e.
>
>LOCAL loMyCOM
>
>loMyCOM = createobject("whatever")
>
>Do I have to release the variable at the end of the method???
>

The variable will be released but, depending on what the object is, the COM server may still be running. For example, if you issue:

LOCAL oWord

oWord=CreateObject("Word.Application")

RETURN

the oWord reference goes away, but Word is still running invisibly.

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform