Article View: borland.public.cppbuilder.database.multi-tier
Article #357Using server methods
From: Francesco Rossi
Date: Sun, 25 Nov 2001 08:26
Date: Sun, 25 Nov 2001 08:26
17 lines
1666 bytes
1666 bytes
Hi, i'm novice to multi-tier application and i would try these expereance. So i create a little EXE with a form and a remote data module with a data set provider control using the wizard. The CoClass is called DMFastServer and the relative interface is called IDMFastServer. In this interface i have create a property that return the value of the status of database connection, called IsDatabaseOpen. Then i have create my client application that connect with the server using a socket connection and a client dataset, simulating the server on a remote machine. Well, all work fine and i see any data, but i don't know how i can use the property i have create on server. What is the source code, on the client application, for use the property in the interface ? Is this code reusable also for interface methods ? I hope my english is not terrible! Thanks
Technical Details
Message-ID:
<3c00ab1a_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,e6fd7e93e1ee09ec,start X-Google-Attributes: gidfcd2b,public X-Google-ArrivalTime: 2001-11-25 00:30:32 PST From: "Francesco Rossi" <inforsi@tin.it> Newsgroups: borland.public.cppbuilder.database.multi-tier Subject: Using server methods Date: Sun, 25 Nov 2001 09:26:59 +0100 Lines: 19 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: 212.171.183.107 Message-ID: <3c00ab1a_2@dnews> X-Trace: dnews 1006676762 212.171.183.107 (25 Nov 2001 00:26:02 -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