Article View: borland.public.cppbuilder.database.multi-tier
Article #593About callbacks
From: Goumatianos
Date: Fri, 23 Mar 2001 18:15
Date: Fri, 23 Mar 2001 18:15
31 lines
1708 bytes
1708 bytes
I have experience in Delphi , but in c++builder just 2 months. I can't develop a callback method in midas project. At server's side (in server.tlb) I created a interface "IEbClient" (IDispatch) and its method "CallbackClient". In delphi, at client's side (clientfrm) is: ------------------------------------------------------------- type TCallBack = class(TAutoIntfObject, IEbClient) procedure CallBackClient(ActionID,UpdateKind: Integer; aValue: oleVariant); Safecall; end; ..... procedure TCallBack.CallBackClient(ActionId,UpdateKind: Integer;aValue: OleVariant); Begin Case ActionId of 0: clientform.Close; 1: Clientform.Updatedata(ActionID,UpDateKind,aValue); end; end; ---------------------------------------------------------------- But I couldn't translated it in c++builder. Thanks in advance Nikitas ( email - goumatianos@hotmail.com )
Technical Details
Message-ID:
<3abb913f_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!206.252.192.28!news.stealth.net!nntp1.njy.teleglobe.net!teleglobe.net!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!212.251.12.13Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,428a5fd36dd1ff14,start X-Google-Attributes: gidfcd2b,public X-Google-ArrivalTime: 2001-03-23 10:24:23 PST From: "Goumatianos" <goumatianos@hotmail.com> Newsgroups: borland.public.cppbuilder.database.multi-tier Subject: About callbacks Date: Fri, 23 Mar 2001 20:15:58 +0200 Lines: 35 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2417.2000 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 NNTP-Posting-Host: 212.251.12.13 Message-ID: <3abb913f_1@dnews> X-Trace: 23 Mar 2001 10:09:03 -0800, 212.251.12.13 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!206.252.192.28!news.stealth.net!nntp1.njy.teleglobe.net!teleglobe.net!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!212.251.12.13