General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only