TObject.InitInstance
Initialize a new class instance.
Declaration
Source position: objpash.inc line 218
public
class function InitInstance(instance: pointer) : TObject;
Description
InitInstance initializes the memory pointer to by Instance. This means that the VMT is initialized, and the interface pointers are set up correctly. The function returns the newly initialized instance.
See also
Name | Description |
---|---|
Create | TObject Constructor |
NewInstance | Allocate memory on the heap for a new instance |