Article View: comp.sys.ibm.pc
Article #8526Mixed-language Programming
From: Operator
Date: Wed, 13 Dec 1989 21:42
Date: Wed, 13 Dec 1989 21:42
18 lines
968 bytes
968 bytes
I was hoping if someone has any experience with the following:
I want to link a C(Borland Turbo C) routine with a
BASIC routine under Microsoft 3.3
For exmaple, you have the following simple code:
main()
{
basic_sub()
}
which calls a subroutine written in BASIC.
Does the C compiler use the same calling
convention as the BASIC? I'm not much of an
expert on BASIC, or is it the case that the two compilers
use different conventions(e.g., arguments are in
different places, or results are expected in
different places).
Technical Details
Message-ID:
<1272@amethyst.math.arizona.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!asuvax!noao!amethyst!carme!rootShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!asuvax!noao!amethyst!carme!root From: root@carme (Operator) Newsgroups: comp.sys.ibm.pc Subject: Mixed-language Programming Message-ID: <1272@amethyst.math.arizona.edu> Date: 13 Dec 89 21:42:09 GMT Sender: news@amethyst.math.arizona.edu Reply-To: john@jupiter.ame.arizona.edu (John Azad) Organization: AME Dept., Univ. of Arizona at Tucson Lines: 18