KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q44797: "Error Loading - Invalid Format," MOUSE.LIB in Quick Library

Article: Q44797
Product(s): See article
Version(s): 4.00 4.00b
Operating System(s): MS-DOS
Keyword(s): ENDUSER | B_BasicCom | mspl13_basic
Last Modified: 13-DEC-1989

When creating a Quick library using the MOUSE.LIB library (from the
"Microsoft Mouse Programmer's Reference Guide") for use with
QuickBASIC 4.00 or 4.00b or BASIC compiler 6.00 or 6.00b, you must
place another object module or library before MOUSE.LIB in the Quick
library. This can be accomplished using any other object module or
library and the following LINK syntax:

   LINK /Q otherlib+MOUSE.LIB, MOUSE.QLB,, BQLB40.LIB

If MOUSE.LIB is the first (or only) element in the Quick library,
trying to load the Quick library into QuickBASIC 4.00 or 4.00b or
BASIC compiler 6.00 or 6.00b (with QB /L Mouse.QLB) results in an
"Error loading file - invalid format" error message. This problem does
not occur in QuickBASIC 4.50 or BASIC PDS 7.00.

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.