help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'System' (#rtl)

TObject.InitInstance

Initialize a new class instance.

Declaration

Source position: objpash.inc line 157

public function TObject.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

NewInstance

  

Allocate memory on the heap for a new instance

Create

  

TObject Constructor

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505