[comp.lang.pascal] Calling TurboPascal from TurboC

mdfreed@ziebmef.uucp (Mark Freedman) (12/03/88)

    I recently purchased the Blaise "Turbo Power Tools Plus" package 
(for Turbo Pascal 4.0) at a clearance sale. 

   I had thought that the "pascal" keyword in Turbo C 2.0  was
included so that Turbo C could call a Turbo Pascal procedure. To
quote from the User's Guide, Page 362 states, "In this section, 
we make it clear how easy interfacing Turbo C to other languages 
can be". 

   Unfortunately, Turbo Pascal doesn't appear to qualify as one
of the "other languages" :-). (quoting from Page 364: "Note that 
this does not mean you can call Turbo Pascal functions from Turbo C:
you can't.".

   I believe that Microsoft supports mixed-language programming
(C, PASCAL, FORTRAN, and ASSEMBLER), and I'm distressed to discover
this apparent oversight in Turbo Pascal.

   Is there, in fact, a way to call Turbo Pascal Procedures from
Turbo C ??? I haven't yet received Turbo Pascal 5.0, but I believe
that the package includes utilities to extract a procedure from 
a .TPU file, and convert it to a .OBJ file. What would the resulting
.OBJ file be used for ???