🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: how to use ADO in builder 4.0

#4216
From: JFernando
Date: Sat, 23 Feb 2002 13:16
37 lines
2328 bytes
I Found this:

http://cslp.comp.nus.edu.sg/luakt/programming/Using%20ADO%20with%20Borland%20C++%20Builder%204.htm

It has a good example and It works find when records are found.  But 
when no records are found after displaying the message box I get an 
Access Violation error.  I stepped throught the application and the 
error occures after ending the Click_Event in a call to a functino in 
the borland's file "utilcls.h"

If you could figure this one please let me know

Thank you

Fernando
JFernando@canada.com

Smith Tanny wrote:

> Hello fellows,
>       I integrated ado with my application once using microsoft visual C++
> and it worked pretty well.
> Now I am trying to use ADO with builder 4.0, but I couldn't find any example
> that would explain how to use the ADO com in builder. I know that Builder
> 5.0 came with ADO vcl component, but I use builder 4.0 at work. Could
> anybody give me any example on how to call Ado com object and few sample on
> how to do query ? I am aware of the name decoration incompatibility issue on
> calling com object that is compiled in microsoft vC++.
> thanks in advance
> 
> smith tanny
> Programmer
> SourceCorp
> 
> 
> 
> 
Technical Details
Message-ID: <3C77962D.8040107@canada.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!peer1-sjc1.usenetserver.com!usenetserver.com!hub1.nntpserver.com!xmission!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!news-out.spamkiller.net!propagator-la!news-in-la.newsfeeds.com!news-in.superfeed.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3c642f27$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,91f13c99caaa4005
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-02-23 05:23:48 PST
Message-ID: <3C77962D.8040107@canada.com>
Date: Sat, 23 Feb 2002 08:16:29 -0500
From: JFernando <JFernando@canada.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: how to use ADO in builder 4.0
References: <3c642f27$1_2@dnews>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.157.91.88
X-Trace: dnews 1014470042 24.157.91.88 (23 Feb 2002 05:14:02 -0800)
Lines: 38
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!peer1-sjc1.usenetserver.com!usenetserver.com!hub1.nntpserver.com!xmission!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!news-out.spamkiller.net!propagator-la!news-in-la.newsfeeds.com!news-in.superfeed.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews