Microsoft KB Archive/130442

= PRB: RELEASE LIBRARY Results in "API library not found" Error =

Article ID: 130442

Article Last Modified on 2/11/2000

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition

-



This article was previously published under Q130442



SYMPTOMS
You get a "API library not found" error message when using the RELEASE LIBRARY command to release an API library that is not in the current working directory.



WORKAROUND
If you are using only a single API library file, use one of the following commands to release the API library:


 * SET LIBRARY TO -or-


 * RELEASE LIBRARY SET('LIBRARY')

If you are using more than one API library file, use one of the following command sets to release a specific library:


 * SET PATH TO  RELEASE LIBRARY -or-


 * RELEASE LIBRARY \



STATUS
This behavior is by design.



Steps to Reproduce Behavior
Create and run the following code: SET DEFAULT TO C:\VFP SET LIBRARY TO FOXTOOLS SET DEFAULT TO C:\ RELEASE LIBRARY FOXTOOLS This results in the "API library not found" error.

Additional query words: VFoxWin kbfest

Keywords: kberrmsg kbcode KB130442

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.