Microsoft KB Archive/47511

= QuickBasic Must Be Main Program in Mixed-Language Calling =

Article ID: 47511

Article Last Modified on 11/21/2006

-

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

-



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.

Additional query words: QuickBas BasicCom

Keywords: KB47511

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.