🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #379

Re: Using property of the remote application server

#379
From: vavan
Date: Sat, 08 Dec 2001 10:52
24 lines
1839 bytes
On Fri, 7 Dec 2001 19:12:46 +0100, "Francesco Rossi" <inforsi@tin.it>
wrote:

>In a method FormCreate of client application i do this:
>
> IDispatch *disp = (IDispatch*)(ClientDataSetTransazioni->AppServer);
> IDMFastServerDisp ITemp( (IDMFastServer*)disp);
>// Property of applicationserver
> if (!(bool)ITemp.IsDatabaseOpen) {
>...
>}
>
>for check if the remote database is open, but when i close the application
>this crash with a general protection error: it can't close some form,
>because the IDE stop at line that destruct a form.

I suffer from similar very annoying problem that happens from time to
time. I tried to investigate and discovered an AV happens with Variant
variable when trying to invoke VarClear method somewhere inside VCL.
The most interesting is when I rebuild the project the problem is gone
till next time...

--
Vladimir Ulchenko aka vavan
Technical Details
Message-ID: <3rr31u8febrftb176tm88f4nb1nlpkq5jk@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3c11065d_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,547ad9bf36c1637f
X-Google-Attributes: gidfcd2b,public
X-Google-ArrivalTime: 2001-12-08 02:57:52 PST
From: vavan <vavan@santel.ru>
Newsgroups: borland.public.cppbuilder.database.multi-tier
Subject: Re: Using property of the remote application server
Date: Sat, 08 Dec 2001 13:52:21 +0300
Organization: TAIF-TELCOM
Message-ID: <3rr31u8febrftb176tm88f4nb1nlpkq5jk@4ax.com>
References: <3c11065d_2@dnews>
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 195.170.216.131
X-Trace: dnews 1007808726 195.170.216.131 (8 Dec 2001 02:52:06 -0800)
Lines: 24
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews