🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.deployment
Article #80

functions/members exported in dll

#80
From: Adrian Mercieca
Date: Mon, 07 May 2007 18:02
18 lines
1614 bytes
Hi,

I've created a dll with BDS 2006 (C++) which uses vcl.
I've noticed that the compiler/linker is generating Initialize and Finalize
exports for each class that I have in the dll (e.g.
@@MyClassName@Initialize).

I have no intention in exporting the classes themselves from the dll; the
dll's functionality will be export via __declspec(dllexport) extern "C"
__stdcall functions so that the dll can be used from other languages like
VB, Visual C++ etc. The classes within the dll are only there to implement
the internal functionality.

Guess there must be some compiler/linker options to disable the exporting of
these functions.
Would greatly appreciate if anyone could let me know what these might be.

Tks - Adrian.
Technical Details
Message-ID: <463f69a6@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f8e54,a374a7ad1984d92d,start
X-Google-Attributes: gidf8e54,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Adrian Mercieca" <amercieca@rem-gmail.com>
Newsgroups: borland.public.cppbuilder.deployment
Subject: functions/members exported in dll
Date: Mon, 7 May 2007 20:02:14 +0200
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 80.77.196.155
Message-ID: <463f69a6@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1178560934 80.77.196.155 (7 May 2007 11:02:14 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail