Article View: borland.public.cppbuilder.database.multi-tier
Article #483Re: TClientDataSet::LoadFromFile fails ??
From: Jim Melsom
Date: Wed, 22 Aug 2001 04:23
Date: Wed, 22 Aug 2001 04:23
15 lines
1633 bytes
1633 bytes
Mark Cashman wrote: > Could there be anything wrong with the loaded Client DS? Perhaps it > needs a database that doesn't exist when it is loaded? I don't think so in this case. The dataset has no references to any other tables or databases, and the test file I'm using can be loaded from disk and displayed in say a dbgrid as long as the TClientDataSet is constructed in the main program. The same file can't be loaded if the TClientDataSet is constructed in a dynamically-linked component library. I found that I can still use other run-time packages in a project, as long as the one that's causing the problem is statically linked by adding its .lib file to the project. The exception occurs in ntdll.dll.
Technical Details
Message-ID:
<3B8333D0.2DD1@gemteck.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!nntp.flash.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsReferences:
<3B7AEF61.34AF@gemteck.com> <3B80F9D3.A491E2EE@temporaldoorway.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,5a4d73f31aebdf20 X-Google-Attributes: gidfcd2b,public X-Google-ArrivalTime: 2001-08-21 21:30:46 PST Message-ID: <3B8333D0.2DD1@gemteck.com> Date: Tue, 21 Aug 2001 21:23:45 -0700 From: Jim Melsom <jhm@gemteck.com> Reply-To: jhm@gemteck.com X-Mailer: Mozilla 3.04 (WinNT; U) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.multi-tier Subject: Re: TClientDataSet::LoadFromFile fails ?? References: <3B7AEF61.34AF@gemteck.com> <3B80F9D3.A491E2EE@temporaldoorway.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 209.52.76.14 X-Trace: dnews 998454612 209.52.76.14 (21 Aug 2001 21:30:12 -0700) Lines: 15 Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!nntp.flash.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews