QuickBASIC's ToolBox Statement Can't Call Routines Not in ROM (33055)






This article was previously published under Q33055

SUMMARY

Any ROM routine listed in "Inside Macintosh" (by Apple Computer and published by Addison-Wesley) that is marked "Not in ROM" cannot be called from Microsoft QuickBASIC with the ToolBox statement. Some other high-level languages supply routine-specific "glue" code to make these calls, which the ToolBox statement in QuickBASIC cannot provide.

You could use one of these other languages to create an MBPC (pure code) resource to provide the required interface to the routine you need. MBPC support files are provided in QuickBASIC for LightSpeed C, MPW Assembler, C, and Pascal.

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

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