QuickBASIC Call to MOUSE Changed to MOUSES (43735)



The information in this article applies to:

  • Microsoft Mouse driver for MS-DOS 6.x
  • Microsoft Mouse driver for MS-DOS 7.x
  • Microsoft Mouse driver for MS-DOS 8.x
  • Microsoft Mouse driver for MS-DOS 9.0
  • Microsoft QuickBASIC 4.0
  • Microsoft QuickBASIC 4.5

This article was previously published under Q43735

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%)
				

Modification Type:MinorLast Reviewed:8/15/2005
Keywords:KB43735