"Mouse Driver Not Installed" Incorrectly Displayed

Last reviewed: September 16, 1996
Article ID: Q31171
The information in this article applies to:
  • Microsoft Mouse Driver for MS-DOS, versions 5.x, 6.x, 7.x, 8.x and 9.00

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


KBCategory: kbhw kbdocerr
KBSubcategory:
Additional reference 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


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.