COM Interfaces

The standard COM interfaces that twinBASIC code implements or calls, described with what each method must do and what twinBASIC adds or requires.

A twinBASIC class implements a COM interface with Implements, and calls one through a variable of the interface’s type. Each page gives the interface’s declaration as a twinBASIC project writes it, the contract of each method — what a caller may pass and what the method must return — and the behaviour of the language features that use the interface.

Interfaces

  • IEnumVARIANT – enumerates a sequence of Variant values; what For Each uses to go through an object