Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clearing a Com object from memory
Message
De
27/06/2003 15:50:45
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00804820
Message ID:
00804871
Vues:
53
Thanks, iisreset did it.



>>I am creating a Com object in VFP8. I compile the object as a DLL and test it. This works. But if I make a change and go back to re-compile as the same DLL name, I get a file accessed denied message.
>>
>>How do you clear Com objects from memory?
>>
>>Thanks,
>>
>
>Jerry,
>If you're in VFP or VB for testing, setting the variable to .NULL./Nothing or calling its Release method should release it from memory. If you are in ASP, then the IIS service holds your COM object. You can reset IIS using
>iisreset /restart
>to sut down IIS and release all of its holds.
>
>If you have your COM object set up as a package under MTS/COM+, you can stop the package, recompile your COM DLL and restart the package.
>
>HTH.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform