Microsoft KB Archive/50061

“How to Pass Parameters Between BASIC and C” Notes Available PSS ID Number: Q50061 Article last modified on 05-02-1991 PSS database name: B_QuickBas

4.00 4.00b 4.50

MS-DOS

Summary:

A file is available in the Software/Data Library that explains how to pass all types of parameters between compiled Microsoft BASIC and C.

This file can be found in the Software/Data Library by searching for the word BAS2C, the Q number of this article, or S12432. BAS2C was archived using the PKware file-compression utility.

A copy of BAS2C can also be obtained as the printed application note, “How to Pass Parameters between BASIC and C.” Application notes can be obtained by calling Microsoft Language Support Services.

More Information:

The code examples found in BAS2C are also available in this database (without the explanatory text from BAS2C) as multiple separate articles, which can be found as a group by searching on the word BAS2C.

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; to Microsoft BASIC Professional Development System (PDS) versions 7.00 and 7.10 for MS-DOS and MS OS/2; to Microsoft C Compiler versions 5.00, 5.10, and PDS 6.00; and to Microsoft QuickC Compiler versions 1.00, 1.01, 2.00, 2.01, and 2.50.

The following table specifies which versions of Microsoft BASIC can be linked with specific versions of Microsoft C or QuickC:

BASIC QuickBASIC Compiler <-> C QuickC ———- ——– — - ——

4.00 – <-> 5.00 or 1.00 – 6.00 <-> 5.10 or 1.01 4.00b or 6.00b <-> 5.10 or 1.01 4.50 – <-> 5.10 or 2.00 or 2.01 – 7.00 <-> 5.10 or 2.00 or 2.01 – 7.10 <-> 6.00 or 2.50

Copyright Microsoft Corporation 1991.