Sign in Join
FPDoc Onlineexperiment

CallVoidMethod function

In unit Objects

Call an object method.

Declaration

pascal
function CallVoidMethod(Method: CodePointer; Obj: pointer): pointer

Description

CallVoidMethod calls the method with address Method for instance Obj. It returns a pointer to the instance.

Errors

If the method expects parameters, the stack may become corrupted.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.