🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Strange ADO issue doesn't happen in debug mode

#383
From: Clayton Arends
Date: Sat, 23 Sep 2006 22:33
40 lines
3151 bytes
"Simon Elliott" <Simon at ctsn.co.uk> wrote in message 
news:4515af1d@newsgroups.borland.com...

> Thanks for looking into this. I agreee that this is not the solution,
> but hopefully it's iterating toward a solution.

I was only able to find one post that demonstrates similar behavior.  I 
searched Google for "cppbuilder variant exec debug av" and this is the link 
(one line, of course):

  http://groups.google.com/group/borland.public.cppbuilder.activex/
  msg/6252a8bcadff64c4?dmode=source

> You mentioned in an earlier post that this is more a "VB" solution. I
> was advised when starting out on this, that this was closer to the
> underlying "bare metal" of the way that MS Windows handles ADO, and
> therefore I'd experienece less problems and issues. Is this perhaps not
> the case?

I don't know if it's more/less optimal than using the VCL classes found in 
ADODB or using the COM classes in ADOINT.  I'm sure there are some hidden 
features that are much easier to get at using the technique you are using. 
The "VB way" is definitely more flexible since you can access any OLE/COM 
interface without making a class or importing a DLL or other LIB and header. 
However, I doubt that you will be able to use TDataSource or the other DB 
components/controls through this Variant interface (I'm prepared to eat 
those words if someone else can contradict me).  If this is not a 
requirement for you then this won't be an issue.

I'm afraid that at this point my information on this problem is maxed out 
and with it my ability to help "fix" it.  For now you may have to leave your 
app in "debug" mode.  I have one released product that we had to do that. 
There was no time to hunt for the cause of an infrequent error we were 
experiencing in debug mode.  Fortunately, this only adds about 2K to the 
application so is not really a big deal.

Perhaps you can contact Wayne Smith and ask him if he was ever successful in 
finding his problem.

- Clayton 
Technical Details
Message-ID: <4515b61d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <45105819$1@newsgroups.borland.com> <4515408f$1@newsgroups.borland.com> <4515575c@newsgroups.borland.com> <45158a5c$1@newsgroups.borland.com> <45158f64$1@newsgroups.borland.com> <4515af1d@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,bfc14363b29b7122
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Clayton Arends" <nospam_claytonarends@hotmail.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <45105819$1@newsgroups.borland.com> <4515408f$1@newsgroups.borland.com> <4515575c@newsgroups.borland.com> <45158a5c$1@newsgroups.borland.com> <45158f64$1@newsgroups.borland.com> <4515af1d@newsgroups.borland.com>
Subject: Re: Strange ADO issue doesn't happen in debug mode
Date: Sat, 23 Sep 2006 15:33:12 -0700
Lines: 42
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 71.83.251.192
Message-ID: <4515b61d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1159050781 71.83.251.192 (23 Sep 2006 15:33:01 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail