"Error Loading - Invalid Format," MOUSE.LIB in Quick Library (44797)



The information in this article applies to:

  • Microsoft BASIC Compiler for MS-DOS and OS/2 6.0
  • Microsoft BASIC Compiler for MS-DOS and OS/2 6.0b
  • Microsoft QuickBASIC 4.0
  • Microsoft QuickBASIC 4.0b

This article was previously published under Q44797

SUMMARY

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.

Modification Type:MinorLast Reviewed:8/16/2005
Keywords:KB44797