Xref: utzoo comp.lang.pascal:5830 comp.lang.c:37460 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!sdd.hp.com!caen!sol.ctr.columbia.edu!emory!ogicse!zephyr.ens.tek.com!vice!bobb From: bobb@vice.ICO.TEK.COM (Bob Beauchaine) Newsgroups: comp.lang.pascal,comp.lang.c Subject: Re: C PASCAL INTERFACE Message-ID: <7154@vice.ICO.TEK.COM> Date: 23 Mar 91 06:36:06 GMT References: <2941@cod.NOSC.MIL> <1991Mar21.115923.88@gnv.ifas.ufl.edu> Reply-To: bobb@vice.ICO.TEK.COM (Bob Beauchaine) Followup-To: comp.lang.pascal Organization: Tektronix, Inc., Beaverton, OR. Lines: 16 In article <1991Mar21.115923.88@gnv.ifas.ufl.edu> sjs@gnv.ifas.ufl.edu writes: > >I have no trouble doing this with Microsoft C and Pascal. Just make sure >there is only one main program; all the other routine files must be sub- Don't forget the other fine details, like making sure all of the C functions use the Pascal calling convention, and that you don't call any C library routines, and that you don't have any global static declared data in the C routine (unless you've got Turbo 6.0) and... /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ Bob Beauchaine bobb@vice.ICO.TEK.COM C: The language that combines the power of assembly language with the flexibility of assembly language.