Re: How to allocate new class instance on the heap?



Are you saying that

ClassInstanceVariable := tClassName.Create {};

will allocate ClassInstanceVariable on the heap? And it will not be
automatically deallocated when the function declaring
ClassInstanceVariable exits? OK, thank you.

.



Relevant Pages