Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems releasing com+ objects
Message
De
27/10/2003 12:53:35
John Fitzgerald
Kenneths Hair Salons & Day Spas,Inc.
Columbus, Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Problems releasing com+ objects
Divers
Thread ID:
00843101
Message ID:
00843101
Vues:
47
We're writing an asp.net application that uses our foxpro com+ objects. I'm using objName = nothing to release them in the asp.net page. I am also releasing them as soon as possible.

example ( in asp.net) (all use of objects are similiar)
rs = createobject("adodb.recorset")
obj = createobject("MyDLL.MyClass")
rs = obj.MyFunction(parameter list)
obj = nothing 'release right after processing


When I close the application I look at the component services, sometimes the objects are still activated.

Is there a way that I can write a destroy method within the object to destroy itself and insure the release of the object.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform