Path: utzoo!attcan!uunet!ncrlnk!ncrcae!hubcap!gatech!uflorida!mailrus!ncar!noao!arizona!naucse!wew From: wew@naucse.UUCP (Bill Wilson) Newsgroups: comp.lang.pascal Subject: Re: Turbo Pascal 4.0 /w Turbo C Message-ID: <1022@naucse.UUCP> Date: 10 Nov 88 21:05:17 GMT References: <17460@adm.BRL.MIL> Organization: Northern Arizona University, Flagstaff, AZ Lines: 18 > Does anyone out there know how to call Turbo C code from Turbo Pascal 4.0? > Any suggestions would be greatly appreciated. > > I'm just a beginner at Turbo C (started programming with it a few months > ago), but am pretty good with Turbo Pascal. The version of Turbo C that I > have is 1.0 and Turbo Pascal is 4.0. > Linking Turbo C routines to Turbo Pascal is well documented in the Turbo C manual. If you own one there is a section on the topic and if I remember correctly, there are example files also. Generally in Turbo C you must make sure that you use the correct parameter/calling sequence when passing arguments back and forth from Pascal to C. -- Bill Wilson (Bitnet: ucc2wew@nauvm) Northern AZ Univ Flagstaff, AZ 86011 {These views are mine and do not necessarily reflect those of my employer}