Article View: borland.public.cppbuilder.nativeapi
Article #8692Re: Instantiating and calling a class contained in a DLL
From: Andrue Cope [TeamB]
Date: Mon, 27 Sep 2004 15:19
Date: Mon, 27 Sep 2004 15:19
22 lines
1718 bytes
1718 bytes
Bruce Salzman wrote: > If you don't need portability between compilers, then that is a > non-issue. That's what my post says - or at least it's a warning about possible consequences of exporting classes which is much the same thing. One of the main purposes of DLLs is to provide cross language support so that anyone can call someone elses code without needing to use the same compiler or even the same language. Exporting classes from a DLL risks negating this feature and thus severely limits the potential usefulness of a DLL. Given that nothing in the OPs post indicated they were writing solely for one compiler it seemed prudent to warn them of the downsides of using this technique. -- Andrue Cope [TeamB] [Bicester, Uk] http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID:
<41582f83@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4154a05c$1@newsgroups.borland.com> <4157c9e7@newsgroups.borland.com> <41582893@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> <4157c9e7@newsgroups.borland.com> <41582893@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: <41582f83@newsgroups.borland.com> Date: 27 Sep 2004 08:19:31 -0700 X-Trace: newsgroups.borland.com 1096298371 217.207.223.34 (27 Sep 2004 08:19:31 -0700) Lines: 22 X-Authenticated-User: acope Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail