🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #7340

Re: calling C routines from Turbo Pascal

#7340
From: Frank van der Hulst
Date: Wed, 26 Jun 1991 08:02
17 lines
1279 bytes
In article <91062528@gprc.uucp> franco@gprc.uucp (Franco Carlacci) writes:
>I have Turbo Pascal Version 6 and Turbo C++ Version 1.0. I would like
>to call Turbo C++ routines from Pascal, is this possible?

I'm trying to do the same -- my attempts so far show that you have to be *very*
careful with what your C code does. It must only call routines with valid
Pascal names. TC v2 (I guess also TC++) generates calls to things like PCMP@
and PADD@ when you do things with pointers, and when you try to link the
objects into TP it complains...

Frank.


-- 

Take a walk on the wild side, and I don't mean the Milford Track.
Kayaking: The art of appearing to want to go where your boat is taking you.
Technical Details
Message-ID: <1991Jun26.080205.11216@cavebbs.gen.nz>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!uunet!comp.vuw.ac.nz!cavebbs!frank
References: <91062528@gprc.uucp>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!uunet!comp.vuw.ac.nz!cavebbs!frank
From: frank@cavebbs.gen.nz (Frank van der Hulst)
Newsgroups: comp.os.msdos.programmer,comp.os.msdos.misc
Subject: Re: calling C routines from Turbo Pascal
Keywords: Turbo C++,Pascal
Message-ID: <1991Jun26.080205.11216@cavebbs.gen.nz>
Date: 26 Jun 91 08:02:05 GMT
Article-I.D.: cavebbs.1991Jun26.080205.11216
References: <91062528@gprc.uucp>
Organization: The Cave MegaBBS, Public Access Usenet, Wellington, NZ
Lines: 17