From: "Antoine Mathys" Newsgroups: comp.os.msdos.djgpp Subject: mixing pascal /c Date: Tue, 22 Dec 1998 23:03:32 +0100 Organization: MB DENTAL SA Lines: 21 Message-ID: <75p52l$sq$1@bw107zhb.bluewin.ch> NNTP-Posting-Host: sio22pub73.bluewin.ch X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com hello, I would like to create a Pascal programm, and include a C function in it. That is, creating a .c file with a func() declaration, and a .pas file with something like procedure func; external; Of course, I use GNU C and GNU Pascal. The two files (.c and .pas) compile fine, but it is completely impossible for me to make them work together ! So please tel me how I could link a pascal programm and some c function ! thank you in advance ----------------- Antoine Mathys ------------------ e-mail : mmathys AT bluewin DOT ch URL : http://www.chez.com/mathys/