Article ID: 47511 - Last Review: November 21, 2006 - Revision: 1.3

QuickBasic Must Be Main Program in Mixed-Language Calling

System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
This article was previously published under Q47511
Expand all | Collapse all

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.

APPLIES TO
  • Microsoft QuickBasic 4.0
  • Microsoft QuickBASIC 4.0b
  • Microsoft QuickBasic 4.5 for MS-DOS
  • Microsoft BASIC Compiler 6.0
  • Microsoft BASIC Compiler 6.0b
  • Microsoft BASIC Professional Development System 7.0
Keywords: 
KB47511
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.