Illegal Function in Module Makemv12 (70154)

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

This article was previously published under Q70154


The following error message is displayed when an illegal scan code is used in one of the TYPE statements of a mouse menu program:

Illegal function in module makemv12
Double-check the menu source file (.DEF file) to make sure all scan codes are valid scan codes. A list of valid scan codes can be found in Appendix G of the "Microsoft Mouse Programmer's Reference" published by Microsoft Press.

Another possible cause for the above message is if the number of characters for a name in the menus is too long (8 character max).

This information applies to the MAKEMENU.EXE program provided with Microsoft Mouse Programmer's Reference published by Microsoft Press.

Modification Type: Major Last Reviewed: 9/23/2003
Keywords: KB70154