🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #11995

Re: Working with DLLs in Windows AND Linux compatible way

#11995
From: Remy Lebeau (TeamB)
Date: Sat, 03 Jan 2004 09:36
18 lines
2307 bytes
<dll_From_dll> wrote in message news:3ff66a59$1@newsgroups.borland.com...
> I would like to be able to create and use DLLs in such a way
> that the DLL creation and handling codes stay the same both
> for Windows and Linux.

Please do not cross-post.  It is against Borland's newsgroup guidelines
(http://www.borland.com/newsgroups).  Only post to the single most
appropriate group.

DLLs are Windows-specific.  They do not work on Linux.  Linux has its own
dynamic library format.  You would have to recompile your code for each
platform you want to support with your code.  Even then, you have to write
your code in such a way to detect the actual platform (usually via a
precompiler define) to decide which code to execute for which platform.


Gambit
Technical Details
Message-ID: <3ff68bd7$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!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
References: <3ff66a59$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 114ee5,e520dbc5c63cb552
X-Google-Attributes: gid114ee5,public
X-Google-Thread: 106fd3,e520dbc5c63cb552
X-Google-Attributes: gid106fd3,public
X-Google-Thread: 10cc67,e520dbc5c63cb552
X-Google-Attributes: gid10cc67,public
X-Google-Thread: fb250,e520dbc5c63cb552
X-Google-Attributes: gidfb250,public
X-Google-Thread: 102541,e520dbc5c63cb552
X-Google-Attributes: gid102541,public
X-Google-ArrivalTime: 2004-01-03 01:39:19 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi,borland.public.cppbuilder.students,borland.public.kylix.linuxapi,borland.public.kylix.migration,borland.public.kylix.students
References: <3ff66a59$1@newsgroups.borland.com>
Subject: Re: Working with DLLs in Windows AND Linux compatible way
Date: Sat, 3 Jan 2004 01:36:42 -0800
Lines: 20
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: <3ff68bd7$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1073122263 67.22.139.199 (3 Jan 2004 01:31:03 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!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