QuickBasic Must Be Main Program in Mixed-Language Calling (47511)



The information in this article applies to:

  • Microsoft QuickBASIC 4.0
  • Microsoft QuickBASIC 4.0b
  • Microsoft QuickBASIC 4.5
  • Microsoft BASIC Compiler for MS-DOS and OS/2 6.0
  • Microsoft BASIC Compiler for MS-DOS and OS/2 6.0b
  • Microsoft Basic Professional Development System for MS-DOS 7.0

This article was previously published under Q47511

SUMMARY

When writing a mixed-language program utilizing modules written in either Microsoft QuickBasic or Microsoft Basic Compiler, Basic must be the start-up controlling language. This step is necessary to activate the Basic language run-time support code.

For example, if a mixed-language program uses both C and QuickBasic modules, then QuickBasic must be the controlling language. Thus, C cannot call QuickBasic without QuickBasic first calling C.

This information applies to Microsoft QuickBasic Versions 4.00, 4.00b, and 4.50 for MS-DOS, to Microsoft Basic Compiler Versions 6.00 and 6.00b for MS-DOS and MS OS/2, and to Microsoft Basic PDS Version 7.00 for MS-DOS and MS OS/2.

Modification Type:MinorLast Reviewed:8/16/2005
Keywords:KB47511