Share via


SYS(2339) - Call CoFreeUnusedLibraries when COM object is released

Sets or returns whether Visual FoxPro calls the operating system function CoFreeUnusedLibraries when a COM object is released.

SYS(2339 [, 0 | 1 ])

Parameters

  • 0
    Specifies that CoFreeUnusedLibraries is not called (Default).

  • 1
    Specifies that CoFreeUnusedLibrariesis called.

Return Value

Character

Remarks

If you have problems releasing a COM server even though all references are released, you might need to change this setting. You can also use the DLL DECLARE command to call CoFreeUnusedLIbraries directly.

See Also

Reference

Visual FoxPro Run-Time Libraries

BUILD MTDLL Command

DECLARE - DLL Command

SYS( ) Functions Overview