delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/02/26/11:13:43

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "Jade" <JADE AT cdict DOT umcc DOT cu>
Organization: Dtpo. SI
To: djgpp AT delorie DOT com
Date: Tue, 26 Feb 2002 11:12:09
Subject: Re: can i call pascal procedures from c?
X-mailer: Pegasus Mail v3.22
Message-ID: <11D486C12@cdict.umcc.cu>
Reply-To: djgpp AT delorie DOT com

I'm still thinking how is possible u can program your task in C but 
if u need to use pascal then u need to make a .obj or .o ( object) 
file. Using Borland's Turbo Pascal u can do this by setting the proper 
option in the options/compile menu. Then u need to declare the 
functions as extern and with pascal like parameters.
This worked for me using Microsoft Quick C and Turbo Pascal and in no 
way they're from the same company so I think u can use another 
compiler than gpc.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019