QuickBASIC Call to MOUSE Changed to MOUSES

ID: Q43735


The information in this article applies to:
  • Microsoft Mouse driver for MS-DOS, versions 6.x, 7.x, 8.x, 9.0
  • Microsoft QuickBASIC for MS-DOS, versions 4.0, 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%) 

Additional query words: docerr 4.00 4.00b 4.50 6.x 7.x 8.x 9.00

Keywords :
Version : MS-DOS:4.0,4.5,6.x,7.x,8.x,9.0
Platform : MS-DOS
Issue type :


Last Reviewed: December 16, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.