Sys(2334)
SYS(2334) reports the Automation server's invocation mode. This function tells you how any method of your Automation server was invoked. Usage | cStartedAs = SYS( 2334 ) |
Parameter | Value | Meaning |
cStartedAs | Empty string or 0 | Unknown. The method might be running as part of the initialization of the object (called from Init) or as a standalone EXE. |
1 | This method was called as part of an application server supporting VTable binding. | |
2 | This method was called as part of an application server not supporting VTable binding, via the older IDispatch interface. |
Example | IF SYS(2334) = "2" && IDispatch call |
See Also | StartMode, Sys(2333) |
View Updates
Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.