Correction for "BASICMPWC.h" File Producing Error 261 (60420)






This article was previously published under Q60420

SUMMARY

The file "BASICMPWC.h" supplied with Macintosh QuickBASIC must be altered for use with MPW (Macintosh Programmer's Workshop) C Version 3.00. The corrections shown below allow the MPW C routines supplied with QuickBASIC to be compiled with MPW C Version 3.00.

This information applies to Microsoft QuickBASIC Version 1.00 for the Apple Macintosh.

MORE INFORMATION

If any of the MPW C routines supplied with Macintosh QuickBASIC (AddStrings.C, PrintVerRec.C or PrintArgs.C) are compiled with MPW C Version 3.00, the following error message is generated:
   #pascal void Debugger()
   #   extern 0xA9FF;
   #                ?
   ### Error 261 we already did this function
   #----------------------------------------------------------
   #   File "BasicMPWC.h"; Line 186 # Compiling
   #----------------------------------------------------------
				
This error is generated because this function declaration also occurs in the "Types.h" header file that comes with MPW C 3.00. To eliminate the error message, comment out the last two lines of the file "BASICMPWC.h", so it appears as follows:
   /* PASCAL VOID Debugger()
        extern 0xA9FF;   */ 
				
After saving this change to disk, the MPW C files can be compiled without receiving any error messages.

Modification Type: Minor Last Reviewed: 1/9/2003
Keywords: KB60420