"Mouse Driver Not Installed" Incorrectly Displayed

ID: Q31171


The information in this article applies to:
  • Microsoft Mouse driver for MS-DOS, versions 5.x, 6.x, 7.x, 8.x, 9.0


SUMMARY

If you compile the C program in chapter 7, pages 15 and 16, of the "Microsoft Mouse Programmer's Reference Guide" (the three-ring binder edition) using any version of Microsoft C or QuickC, the program compiles correctly. However, it returns the message "Mouse driver not installed" even though the mouse is installed.


MORE INFORMATION

This problem is caused by an error in the code. The eleventh line of code incorrectly reads as follows:


   if ( m1 = 0 ) { 
To solve the problem, change the line to read as follows:

   if ( m1 == 0 ) { 
The error was corrected in the first edition of the "Microsoft Mouse Programmer's Reference" (bound edition).

Additional query words: 6.00 6.11 6.14 6.24 6.24b 6.25 6.26 7.00 7.03 7.04 7.05 8.00 8.10 8.20 9.00 docerr

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


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