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



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

CallPointerMethod

Call a method with a single pointer argument

Declaration

Source position: objects.pp line 589

function CallPointerMethod(

  Method: pointer;

  Obj: pointer;

  Param1: pointer

):pointer;

Description

CallPointerMethod calls the method with address Method for instance Obj. It passes Param1 to the method as the single argument. It returns a pointer to the instance.

Errors

If the method expects other parameters than a single pointer, the stack may become corrupted.

See also

CallVoidMethod

  

Call an object method

CallVoidLocal

  

Call a local nested procedure.

CallPointerLocal

  

Call a local nested function with a pointer argument

CallVoidMethodLocal

  

Call a local procedure of a method

CallPointerMethodLocal

  

Call a local procedure of a method with a pointer argument

CallVoidConstructor

  

Call a constructor with no arguments

CallPointerConstructor

  

Call a constructor with a pointer argument.

Notes

 No notes exist for this page yet. 





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