Article View: borland.public.cppbuilder.database.multi-tier
Article #1388Re: TDatabase shared in DLLs
From: Clayton M. Arends
Date: Mon, 08 Nov 1999 00:00
Date: Mon, 08 Nov 1999 00:00
28 lines
1955 bytes
1955 bytes
Okay, given the advice from Mark and Jeff I have decided that maybe a package will be the best way to go about solving my problem. However, the only use I have of packages is in creating components. I've never created a package to be used for purposes like this. (i.e. a replacement for a DLL). When I tried I ran into several problems. And I have several questions on this matter. 1. I'm using the project manager to keep track of all my DLLs and EXEs and such. Is it possible to create a package that will only show up in the PM or on a project by project basis rather than showing up in the "Package Manager" (Component | Install Packages)? 2. I created a datamodule in the package. Where and how should the data module (or other form) get created? In normal executables the creation would happen in WinMain -- (i.e. CreateForm(__classid(TBlah), &Blah); 3. When I turned the option to "Build with runtime packages" on and added my new package to the list the linker reported a "Unresolved external." We all know what that means. How do I actually use the package correctly? I guess what I'm trying to say here is ... HELP! Do you have any good URLs or examples in the help system that I can go to to find out how to use packages correctly? I'm getting desperate. Thanks again, Clayton
Technical Details
Message-ID:
<8080in$b1m3@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<801s1k$j688@forums.borland.com> <38270BCD.1A5999D8@ix.netcom.com> <38271BF5.BB1544AF@ix.netcom.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: "Clayton M. Arends" <carends@evisions.com> Subject: Re: TDatabase shared in DLLs Date: 1999/11/08 Message-ID: <8080in$b1m3@forums.borland.com> X-Deja-AN: 546174237 References: <801s1k$j688@forums.borland.com> <38270BCD.1A5999D8@ix.netcom.com> <38271BF5.BB1544AF@ix.netcom.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.cppbuilder.database.multi-tier