[Axapta-Knowledge-Village] Re: Remove Class from memory ?

2005-07-07 Thread Karsten Krabbes
Hi, RTFM check out the Axapta Development Guide in Axapta search fpr finalize and it is said: 'You can use a finalizer to perform necessary teardown actions. This code fragment illustrates how to activate the finalize method in a class. Notice that Finalizers in X++ are not called aut

Re: [Axapta-Knowledge-Village] Re: Remove Class from memory ?

2005-07-05 Thread Subrahmanyam, Mamidi
Hi,   The finalize() method works on the class object. This is not a static function.   When you call Finalize method ( this.finalize() ), that deallocates the memory for the class object and closes the handle of the object if any...means complete flusing out...   so bottomline,   Myclass myClas

[Axapta-Knowledge-Village] Re: Remove Class from memory ?

2005-07-05 Thread sdupontel1
Hi Subbu, Yes but the syntax is not correct no ? Is it rather : objectHandle.finalize() ? For class is it rather : class::finalize()? Thank you --- In Axapta-Knowledge-Village@yahoogroups.com, "Subrahmanyam, Mamidi" <[EMAIL PROTECTED]> wrote: > Hi , > > I assume you are asking a 'Honest' que