Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems releasing com+ objects
Message
From
27/10/2003 12:53:35
John Fitzgerald
Kenneths Hair Salons & Day Spas,Inc.
Columbus, Ohio, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Problems releasing com+ objects
Miscellaneous
Thread ID:
00843101
Message ID:
00843101
Views:
46
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.
Next
Reply
Map
View

Click here to load this message in the networking platform