Article View: borland.public.cppbuilder.database.multi-tier
Article #378Using property of the remote application server
From: Francesco Rossi
Date: Fri, 07 Dec 2001 18:12
Date: Fri, 07 Dec 2001 18:12
20 lines
1575 bytes
1575 bytes
Hi,
i 've make an application server using type library with c++builder 5.
I' ve make also a client application that use the properties of remote
application server. The client connect to the remote using the socket and
all work fine.
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.
Is there anyone that tell me what is the problem ?
Thank.
Technical Details
Message-ID:
<3c11065d_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,547ad9bf36c1637f,start X-Google-Attributes: gidfcd2b,public X-Google-ArrivalTime: 2001-12-07 10:41:41 PST From: "Francesco Rossi" <inforsi@tin.it> Newsgroups: borland.public.cppbuilder.database.multi-tier Subject: Using property of the remote application server Date: Fri, 7 Dec 2001 19:12:46 +0100 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 NNTP-Posting-Host: 213.45.115.92 Message-ID: <3c11065d_2@dnews> X-Trace: dnews 1007748701 213.45.115.92 (7 Dec 2001 10:11:41 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews