Enables or disables ActiveX dual interface (VTABLE binding) support.
SYS(2333 [, 0 | 1 | 2])
- Disables ActiveX dual interface support. If 0 or 1 is omitted, ActiveX dual interface support is disabled. 0 is the startup default for Visual FoxPro 6.0 or later.
- Enables ActiveX dual interface support. 1 is the startup default for Visual FoxPro 5.0.
- Returns the current SYS(2333) setting (0 or 1).
The ActiveX control dual interface (VTABLE binding) is an optimization supported by Visual FoxPro. If an ActiveX control doesn't use the dual interface, you can disable the optimization while using that control.
If an ActiveX control does not perform properly when the control is instantiated, issue SYS(2333) or SYS(2333, 0) before the control is instantiated to disable dual interface support for the control. After the control has been instantiated, issue SYS(2333, 1) to enable ActiveX dual interface support for any controls that are later instantiated.