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

ID: Q130442

3.00 WINDOWS

 kbprb

The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 3.0

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 <path name to the library file> RELEASE LIBRARY <library filename>

    -or-

  • RELEASE LIBRARY <path>\<library filename>

STATUS

This behavior is by design.

MORE INFORMATION

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 reference words: 3.00 VFoxWin kbfest KBCategory: kbprb KBSubcategory: FxprgGeneral

Keywords          : kbcode kberrmsg FxprgGeneral 
Version           : 3.00
Platform          : WINDOWS


Last Reviewed: May 22, 1998
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.