共用方式為


_ObjectReference( ) API Library Routine

Increments the reference count of an object.

int _ObjectReference(Value FAR *objct)

Remarks

CLEAR MEMORY or CLEAR ALL releases an API object from memory.

0 is returned unless an error occurs. When an error occurs, a negative number representing an internal error code is returned.

For more information on how to create an API library and integrate it with Visual FoxPro, see Accessing the Visual FoxPro API.

See Also

_FreeObject( ) API Library Routine | _ObjectRelease( ) API Library Routine | Accessing the Visual FoxPro API