Article View: borland.public.cppbuilder.nativeapi
Article #4626Re: how can I share a dynamic list of objects in a dll
From: Alan Bellingham
Date: Tue, 03 Jan 2006 12:50
Date: Tue, 03 Jan 2006 12:50
19 lines
1958 bytes
1958 bytes
"Andrue Cope [TeamB]" <no.spam@not.a.valid.address> wrote: >One the of the main benefits of DLLs is that they can be language and >compiler agnostic. As soon as a DLL exports (explicity through the API >or implictly through shared memory) anything beyond simple types that >benefit is lost. I'd say that that would be when to make it a COM server. Then you can have arbitrarily complicated types, with multiple language support. COM may not be the most elegant possible solution, but at least it's got defined rules, and it usually works quite well. It's just a pain coding it up in the first place (says he who has just created a 48K type library with several dozen interfaces and who now needs to actually write some code to go behind it). Alan Bellingham -- ACCU Conference 2006 - 19-22 April, Randolph Hotel, Oxford, UK
Technical Details
Message-ID:
<9gskr1hcp9nhqo7f90pk3jondu02jvss0s@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.germany.com!solnet.ch!solnet.ch!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<XnF97407D8CF14A9davidluuexanecom@207.105.83.66> <43ba6aca$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,214e5f2a6f9443ae X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: Alan Bellingham <alanb@episys.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: how can I share a dynamic list of objects in a dll Date: Tue, 03 Jan 2006 12:50:22 +0000 Reply-To: alanb@episys.com Message-ID: <9gskr1hcp9nhqo7f90pk3jondu02jvss0s@4ax.com> References: <XnF97407D8CF14A9davidluuexanecom@207.105.83.66> <43ba6aca$1@newsgroups.borland.com> X-Newsreader: Forte Agent 3.1/32.783 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 193.129.251.253 X-Trace: newsgroups.borland.com 1136292496 193.129.251.253 (3 Jan 2006 04:48:16 -0700) Lines: 19 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.germany.com!solnet.ch!solnet.ch!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail