Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Releasing COM object
Message
De
16/05/1999 06:59:08
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Releasing COM object
Divers
Thread ID:
00219418
Message ID:
00219418
Vues:
46
Hi everybody!

I have the following problem which can't resolve.... I have a collection class that stores in array property references to COM server instances. Everything is OK but releasing them from memory.

When I issue this.raObject[lnI,2] = .null. it does nothing but wait and wait and wait and I have to go to the Process viewer and delete the COM server from there.

if I issue release this.raObject[lnI,2] , VFP dives me an error message "Syntax error"....

What I have to do to release those COM objects? how do you, people, release objects if they are stored in array?

If I store simple VFP objects in array then first method works just fine....
* Human is a question asked by birth and answered by death. Machine is another kind of question with another kind of answer
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform