共用方式為


SYS(3096) - IDispatch Object Reference

Returns a Visual FoxPro COM object reference for an IDispatch pointer.

SYS(3096, nPointer)

Parameters

  • nPointer
    Represents a pointer to a COM object such as _VFP or Excel.Application.

Return Value

Object

Remarks

This pointer is provided for experienced developers who need to determine an object reference for use in API routines. The refcount for the COM object is NOT changed.

See Also

Early (vtable) and Late (IDispatch) Binding | API Library Routines A-Z | API Library Routines by Category | DECLARE - DLL Command | SYS(3097) - Add Reference to Object | SYS(3098) - Release Object reference