Microsoft KB Archive/43735

From BetaArchive Wiki
Knowledge Base

QuickBASIC Call to MOUSE Changed to MOUSES

Article ID: 43735

Article Last Modified on 8/15/2005


  • Microsoft Mouse Driver 9.1 Standard Edition
  • Microsoft Mouse Driver 7.04 Standard Edition
  • Microsoft Mouse Driver 8.2 Standard Edition
  • Microsoft Mouse Driver 9.0 Standard Edition
  • Microsoft QuickBasic 4.0
  • Microsoft QuickBasic 4.5 for MS-DOS

This article was previously published under Q43735


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: KB43735