SYS(2334) – Automation Server Invocation Mode

See Also

Returns a value indicating how a Visual FoxPro automation server method was invoked.

Syntax

SYS(2334)

Returns

Character

Remarks

The following table lists the values SYS(2334) returns for automation servers:

Return value Invocation method
0 Unknown (for example, invoked from the INIT method which is neither VTable or IDispatch)
1 OLEPUBLIC method invoked via VTable binding
2 IDispatch

SYS(2334) also returns zero when executed from within a stand-alone executable (.exe). Use the StartMode property to determine how an instance of Visual FoxPro was started.