Path: utzoo!attcan!uunet!ncrlnk!ncrcae!hubcap!gatech!rutgers!cmcl2!adm!xadmx!jc58@andrew.cmu.edu From: jc58@andrew.cmu.edu (J. Chin) Newsgroups: comp.lang.pascal Subject: Re: Turbo Pascal 4.0 /w Turbo C Message-ID: <17480@adm.BRL.MIL> Date: 11 Nov 88 10:13:55 GMT Sender: news@adm.BRL.MIL Lines: 31 ------------ In the message I got from Daniel Smith: >If I remember correctly the 4.0 Manual has several examples of >interfacing Turbo C and Turbo Pascal. I have been through the Turbo Pascal 4.0 manual several times and couldn't find anything on interfacing Turbo C with Turbo Pascal. The only thing that I saw (if I remember correctly) was how to interface Assembly with Turbo Pascal. Also, I don't seem to recall anything in the Turbo C (ver 1.0) manual regarding interfacing with Pascal; in the sense of having C procedures called by a Pascal program. If anyone has a sample of a simple program that they've written in Turbo Pascal which calls a C subroutine, I'd like to see it. If the C subroutine was written in Turbo C, could you also tell me what you had setup in C so that the code generated was compatible with Turbo Pascal? Thanks for you replies. Keep them coming, hopefully I'll get a hold of this soon. Once again, thanks. -- J. Chin (a.k.a. Computer Dr.) ------------------------- Carnegie Mellon University ------------------------- 4730 Centre Avenue, Apt. #412 ARPAnet: Johnny.J.Chin@andrew.cmu.edu Pittsburgh, Pennslyvania 15213 BITnet: jc58@andrew.BITNET (412) 268-8936 UUCP: ...!harvard!andrew.cmu.edu!jc58 ------------------------------------------------------------------------------