Sys(2339)
Starting in VFP 7, this function sets the value of an internal VFP variable that determines whether references to unused libraries are cleaned up when a COM object is released.
Usage |
cValue = SYS( 2339, nOption ) |
Parameter |
Value |
Meaning |
nOption |
Omitted |
Returns the current value. |
0 |
Don't call the CoFreeUnusedLibraries Windows API function when the DLL is released. |
|
1 |
Call the CoFreeUnusedLibraries Windows API function when the DLL is released. |
|
cValue |
Character |
The character value of the option passed. |
Example |
* When upgrading VFP 6 code, be sure to add * this line to achieve the same effect in VFP 7. SYS(2339, 1) |
See Also |