Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to remove an instance of COM object from memory?
Message
De
29/03/2004 10:46:38
 
Information générale
Forum:
Visual Basic
Catégorie:
COM, DCOM et OLE automation
Divers
Thread ID:
00890297
Message ID:
00890429
Vues:
21
Just a couple of things off the top of my head.

There are two ways I have found to control object that just like to hang around. The first is a little program I have developed over the years called, Reset.prg. It does pretty good in clear memory and caches. You can download from here http://www.GLRsoftware.com/download.asp#reset.zip

The second is to register the COM object in Component Servers. There for the object is really instatiated there and not in the VFP process. Also, through Component Servers (CS), you can tell it to drop the object from memory. This help when needing to rebuild the project, and object is still laying around.

Hope it helps.
Greg Reichert
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform