Article View: borland.public.cppbuilder.nativeapi
Article #12106Use a pascal unit in BCB app
From: Muzzy
Date: Sat, 27 Dec 2003 19:14
Date: Sat, 27 Dec 2003 19:14
12 lines
1534 bytes
1534 bytes
Hi, I'm developing a C++ app in BCb and i want to add a pascal unit - it's a large unit providing sort of customized API to a MySQL DB and i really want to avoid porting couple thousand lines from pascal to C++. So, how do i use those pascal funcs in C++ ? Do i add not a *.pas but *.dcu to my bcb project and make kind of *.h file? Or i have to generate an *.obj file from my pas file? Thank you, Andrey
Technical Details
Message-ID:
<3fedda1b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!priapus.visi.com!orange.octanews.net!news.octanews.net!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,bf69fbde5ad54a40,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-12-27 11:39:29 PST Date: Sat, 27 Dec 2003 14:14:23 -0500 From: Muzzy <leyandrew@yahoo.com> User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Use a pascal unit in BCB app Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.91.233.60 Message-ID: <3fedda1b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1072552475 24.91.233.60 (27 Dec 2003 11:14:35 -0700) Lines: 13 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!priapus.visi.com!orange.octanews.net!news.octanews.net!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail