Article View: borland.public.cppbuilder.database.multi-tier
Article #1385Re: TDatabase shared in DLLs
From: Mark Cashman (TeamB BCB)
Date: Mon, 08 Nov 1999 00:00
Date: Mon, 08 Nov 1999 00:00
23 lines
1413 bytes
1413 bytes
Hi, Clayton! I think you need to have the DLL have its own TSession. Have you done that? Also, the DLL must do ALL of the data management (the app will not have the TSession or TDatabase needed). Have you considered putting the database management in a run-time package instead of a DLL? Note that a DLL can also use the main app Application object in place of its own. That can sometimes make things easier, though I am not an expert on doing that or its implications. ------ Mark Cashman (TeamB - C++ Builder), creator of The Temporal Doorway at http://www.temporaldoorway.com - Original digital art, writing, music and more - C++ Builder / JBuilder Tips and The C++ Builder Programmer's Webring (Join us!) http://www.temporaldoorway.com/programming/index.htm ------
Technical Details
Message-ID:
<38270BCD.1A5999D8@ix.netcom.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<801s1k$j688@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,b1244f56f55e7a5 X-Google-Attributes: gidfcd2b,public From: "Mark Cashman (TeamB BCB)" <mcashman@ix.netcom.com> Subject: Re: TDatabase shared in DLLs Date: 1999/11/08 Message-ID: <38270BCD.1A5999D8@ix.netcom.com> X-Deja-AN: 545989159 Content-Transfer-Encoding: 7bit References: <801s1k$j688@forums.borland.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Reply-To: mcashman@ix.netcom.com Newsgroups: borland.public.cppbuilder.database.multi-tier