🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #2861

Invalid Class Typecast Error

#2861
From: Morne Havenga (Mweb)
Date: Wed, 12 Mar 2003 21:06
12 lines
1239 bytes
Hi

I have just started to port my app ADO controls.

I have a TADOConnection on a datamodule,  if i try to open a TADOQuery in a
different DLL a get a Invalid class typcast on the open of the query at
runtime,  the query still opens but the exception pops up.  In design time
it open fine.

Enyone who can help me

Morne
Technical Details
Message-ID: <3e6f147b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,6ed16ec0651a92b,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-03-12 03:09:41 PST
From: "Morne Havenga \(Mweb\)" <havenga@mweb.co.za>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Invalid Class Typecast Error
Date: Wed, 12 Mar 2003 13:06:14 -0800
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 196.3.242.194
Message-ID: <3e6f147b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1047467131 196.3.242.194 (12 Mar 2003 03:05:31 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail