Next Previous Up Top Contents Index

4.5 Building an Automation controller application

4.5.5 Calling dispatch methods

Automation controllers can call a dispatch method in a dispinterface using call-simple-method, page 221:

let result = 
  call-simple-method(dispinterface, dispatch-method, args, ...);

The dispatch-method can be either a Dispatch ID or a string name. If you expect to call the dispatch method more than once, it is more efficient to use a Dispatch ID here, since the function will otherwise perform the mapping from method name to Dispatch ID each time.


OLE, COM, ActiveX and DBMS Reference - 31 MAR 2000

Next Previous Up Top Contents Index