Article View: borland.public.cppbuilder.database.ado
Article #4188Winnt Error
From: RayT
Date: Fri, 15 Mar 2002 01:11
Date: Fri, 15 Mar 2002 01:11
22 lines
1687 bytes
1687 bytes
I get and EInvalidCast exception on an Adodataset createparameter call
for a stored procedure....
ADODataSet1->Parameters->CreateParameter("@applicationname", ftString
,pdInput , 30, strApplicationName);
but only on Winnt....
I have a dll that I made that uses and Adodataset component for sql
server comm's
and this all works fine in win95,98 and win2000 and winXP...
but on winnt version 4 with service pack 6 it causes this exception and
I cant for the life of me imagine what the
problem could be since it works on all the other platforms....
Ive installed all the borland patches appropriate for my bcb5
pro/adoexpress....
the only thing installed on the puter is winnt and bcb....and mdac 2.7
and the 3rd party components needed for my apps...
Any one have any ideas???
Thanks
Ray
Technical Details
Message-ID:
<3C914A30.66CCDF80@everywhere.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!news-xfer.siscom.net!hub1.meganetnews.com!hub1.nntpserver.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,687b0b6c28143da,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-03-14 17:19:28 PST Message-ID: <3C914A30.66CCDF80@everywhere.com> Date: Thu, 14 Mar 2002 20:11:12 -0500 From: RayT <SpamBlows@everywhere.com> X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.ado Subject: Winnt Error Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.229.104.53 X-Trace: dnews 1016154966 24.229.104.53 (14 Mar 2002 17:16:06 -0800) Lines: 25 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!news-xfer.siscom.net!hub1.meganetnews.com!hub1.nntpserver.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews