🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Instantiating and calling a class contained in a DLL

#8687
From: Andrue Cope [TeamB]
Date: Mon, 27 Sep 2004 08:05
16 lines
1477 bytes
Roger Warren wrote:

> In a DLL I try to export this class as follows:

Just a "heads up" - it is usually a bad idea to export classes from
DLLs. If you are creating a package then it's okay but for general use
it's a no-no. The problem is that class exports are compiler/vendor
unique and in exporting classes you are producing a DLL that is
probably only useable by software written using the same compiler. It's
even conceivable that different versions of the same compiler will
generate incompatible exports.

-- 
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <4157c9e7@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4154a05c$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e81079fc94e5a83
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Andrue Cope [TeamB]" <no.spam@not.a.valid.address>
Subject: Re: Instantiating and calling a class contained in a DLL
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4154a05c$1@newsgroups.borland.com>
User-Agent: XanaNews/1.16.4.6
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 217.207.223.34
Message-ID: <4157c9e7@newsgroups.borland.com>
Date: 27 Sep 2004 01:05:59 -0700
X-Trace: newsgroups.borland.com 1096272359 217.207.223.34 (27 Sep 2004 01:05:59 -0700)
Lines: 16
X-Authenticated-User: acope
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail