TurboPas4 .TPU with TurboC2?
Mary Winters
mjw06513 at uxa.cso.uiuc.edu
Sun Jan 21 02:20:22 AEST 1990
Here's a question for you Borland Turbo language gurus: I have a Turbo Pascal
4.0 "unit" containing some routines I would like to use. My problem is I do
not have a copy of Turbo Pascal 4.0 (I only have 3.something). I do have
Turbo C, however. I know that Turbo C is designed to be linkable with
other Borland languages (Turbo Prolog, Turbo Assembler, etc.) and by using
the pascal modifier I can declare my C functions to use the Pascal calling
convention. My question is: Can I write a program in Turbo C which can make
use of the functions in a Turbo Pascal unit? Alas, I do not have the source
code to this unit (otherwise I would have simply ported the routines). If
what I want to do is possible, how do I accomplish it? (It's not in my Turbo
C manual, and I of course do not have a Turbo Pascal 4.0 manual handy,
either...)
Many advance thanks to any and all who can assist me.
More information about the Comp.lang.c
mailing list