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

VarDispProc

Callback to perform dispatch interface procedure call by name.

Declaration

Source position: varianth.inc line 201

var VarDispProc: pointer;

Description

VarDispProc is called by the compiler if it needs to perform an interface call from a variant. For instance, the following call:

Var
  V : OleVariant;
begin
  V.OpenDocument('c:\temp\mydoc.doc');
end;  

is encoded by the compiler and passed to VarDispProc.

This pointer must be set by a routine that calls the OS COM handling routines.

See also

DispCallByIDProc

  

Callback to perform dispatch interface procedure call by ID.