QuickBASIC Call to MOUSE Changed to MOUSES

Last reviewed: September 16, 1996
Article ID: Q43735
The information in this article applies to:
  • Microsoft Mouse Driver for MS-DOS, versions 6.x, 7.x, 8.x, and 9.0
  • Microsoft QuickBASIC for MS-DOS, versions 4.0 and 4.5

SUMMARY

As specified in the README.TXT file on Disk 2 of the companion disks to the "Microsoft Mouse Programmer's Reference" (a Microsoft Press release), the MOUSE.LIB reference call MOUSE has been changed to MOUSES.

The change from MOUSE to MOUSES affects QuickBASIC, versions 4.00, 4.00b, and 4.50 examples that call MOUSE through building the QBMOUSE.QLB (adding the MOUSE.LIB).

After creating the QBMOUSE.QLB and trying to execute QBMOU.BAS, MOUSE.BAS, PENCIL.BAS, or QBTEST.BAS, the following QuickBASIC error occurs on reference to MOUSE:

   "Subprogram not defined"

To correct this problem, all references to MOUSE must be changed to MOUSES, as in the following example:

The original reference

   DECLARE SUB Mouse (m1%, m2%, m3%, m4%)

               Mouse (m1%, m2%, m3%, m4%)

should be changed to the following:

   DECLARE SUB Mouses (m1%, m2%, m3%, m4%)

               Mouses (m1%, m2%, m3%, m4%)


KBCategory: kbhw kbdocerr
KBSubcategory:
Additional reference words: docerr 4.00 4.00b 4.50 6.x 7.x 8.x 9.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.

Last reviewed: September 16, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.