Article View: borland.public.cppbuilder.oodesign
Article #63Re: Class in a DLL
From: Andrue Cope [TeamB]
Date: Mon, 09 May 2005 08:15
Date: Mon, 09 May 2005 08:15
23 lines
1916 bytes
1916 bytes
Colin B Maharaj wrote: > Actually I was thinking of separating the visual part of the > application from the functional part. Yes, that's what I thought. It's a very good idea but doesn't really affect the validity of my reply from what I can see. Perhaps I misunderstood your post. The core of your question seemed to be that you wanted to instantiate objects inside your DLL and use those objects from inside the EXE so I addressed the main issue arising from that. > Everything will be in C++ Builder. In that case you can export and import class instances across the DLL boundary. I still don't think it's a good idea, however. My concern is that DLLs have the potential to be servers for anyone and everyone. By exporting classes you are severely limiting them and one day you might run afoul of that. This is especially true if your DLL grows beyond a useful collection of functions and becomes a run time library. -- Andrue Cope [TeamB] [Bicester, Uk] http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID:
<427f1c3b@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<427b38fd$1@newsgroups.borland.com> <427b4e5d@newsgroups.borland.com> <427bff1d@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10db1e,4508b613cdd64647 X-Google-Attributes: gid10db1e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Andrue Cope [TeamB]" <no.spam@not.a.valid.address> Subject: Re: Class in a DLL Newsgroups: borland.public.cppbuilder.oodesign References: <427b38fd$1@newsgroups.borland.com> <427b4e5d@newsgroups.borland.com> <427bff1d@newsgroups.borland.com> User-Agent: XanaNews/1.17.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 NNTP-Posting-Host: 217.207.223.34 Message-ID: <427f1c3b@newsgroups.borland.com> Date: 9 May 2005 01:15:55 -0700 X-Trace: newsgroups.borland.com 1115626555 217.207.223.34 (9 May 2005 01:15:55 -0700) Lines: 23 X-Authenticated-User: acope Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail