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



<chrisspencer02@xxxxxxxxx> wrote in message
news:1117053341.586509.227480@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

> According to the documentation I've read, the proper way to dynamically
> allocate a new instance of a record TMyRec is:

<snip code>

> Should I use the same method for _class_ instances (with constructors
> and destructors) as I describe for records above? Or is there another
> preferred method?

Keep reading that documentation. Sooner or later it's going to say
things about class types.

Groetjes,
Maarten Wiltink


.