Article View: borland.public.cppbuilder.nativeapi
Article #12108Re: Use a pascal unit in BCB app
From: Remy Lebeau (TeamB)
Date: Sat, 27 Dec 2003 21:41
Date: Sat, 27 Dec 2003 21:41
13 lines
1341 bytes
1341 bytes
"Muzzy" <leyandrew@yahoo.com> wrote in message news:3fedda1b$1@newsgroups.borland.com... > So, how do i use those pascal funcs in C++ ? Simply add the .pas file to the project like any other file. The next time you compile the project, it will automatically generate an .hpp file for the Pascal unit. Then you can #include that .hpp file where needed in your C++ code to access the functions. Gambit
Technical Details
Message-ID:
<3fedfb4f@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3fedda1b$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,bf69fbde5ad54a40 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-12-27 13:39:29 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3fedda1b$1@newsgroups.borland.com> Subject: Re: Use a pascal unit in BCB app Date: Sat, 27 Dec 2003 13:41:37 -0800 Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 67.22.139.199 Message-ID: <3fedfb4f@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1072560975 67.22.139.199 (27 Dec 2003 13:36:15 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail