Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Trigger Destroy() Event-- Foxpro DLL memory problem
Message
From
19/07/2001 15:58:21
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How to Trigger Destroy() Event-- Foxpro DLL memory problem
Miscellaneous
Thread ID:
00532817
Message ID:
00532817
Views:
66
I have a nested class (i.e. a classs instantiated within another class and reference to the object stored in a property of the class). None of these commands-- RELEASE ALL, CLEAR ALL, CLEAR MEMORY-- triggers the Destroy() event of the nested class. In Visual Basic it's so easy (SET oRef = Nothing and it automatically garbage collects the nested object) but in FOxpro there seems to be nothing. Just setting the oNested = .F. does not trigger memory release, Destroy() and garbage collection. What am I overlooking?

This is a big problem becasue the classes I am referring to are actually a FOxpro project which is compiled to a Multithreaded COM Server (DLL). I can use (createobject and release) the DLL in a VB project but not in an ASP web application. The web server (IIS) seems to be very picky about proper memory cleanup.
Next
Reply
Map
View

Click here to load this message in the networking platform