Microsoft KB Archive/110529

= PRB: FoxPro for Mac Doesn't Unload Library Before Reloading It =

Article ID: 110529

Article Last Modified on 10/15/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0b for Macintosh
 * Microsoft FoxPro 2.5b for Macintosh

-



This article was previously published under Q110529



SYMPTOMS
Unlike in FoxPro for MS-DOS or FoxPro for Windows, a library (.MLB) can be loaded multiple times in FoxPro for Macintosh. For example, if you issue the following commands in the Command window SET LIBRARY TO foxtools SET LIBRARY TO foxtools ADDITIVE ? SET("LIBRARY") "FOXTOOLS.MLB, FOXTOOLS.MLB" will be returned.

The DISPLAY STATUS command will now show two instances of FoxTools loaded and will not unload the first instance before loading the second.

In FoxPro for MS-DOS or FoxPro for Windows, the first instance of the library would be unloaded and the second instance would be loaded.



RESOLUTION
Before reloading the library, use the RELEASE LIBRARY command to unload the library first. For example, issue the following command before reloading the FoxTools library: RELEASE LIBRARY foxtools

Additional query words: vFoxMac FoxMac

Keywords: KB110529

-

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

© Microsoft Corporation. All rights reserved.