Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Trigger Destroy() Event-- Foxpro DLL memory prob
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00532817
Message ID:
00533059
Views:
15
Well, add a call to destroy the lower-level class in the destroy() function of the upper-level class.

>I tried setting the internal reference to .NULL. and the outer class reference variable to .NULL. (to trigger it's Destroy()). I then stepped through each line of the code and it did not trigger neither the outer class' Destroy()event nor the nested class' Destroy() event.
>
>The Destroy() event fired only when the test program (which created the outer class) terminated. However it only fired the Detroy() event of the outer class, but not the inner class so I do not think it released it from memory. in my Foxpro DLL I must ensure/force FOxpro to release the inner/nested class instantance...How do I do this?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform