次の方法で共有


SYS(2334) – Automation Server Invocation Mode

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

SYS(2334)

Return Values

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.

See Also

StartMode Property | SYS( ) Functions Overview | Automation Server Programming Notes