Article View: borland.public.cppbuilder.database.multi-tier
Article #598Re: About callbacks
From: Goumatianos
Date: Tue, 27 Mar 2001 16:36
Date: Tue, 27 Mar 2001 16:36
25 lines
1444 bytes
1444 bytes
I tried it in many ways...
The message was"access violation..."
I think the proplem is in clients side.
Something is wrong with the declaration.
In delphi that works perfectly is:
type
TCallBack = class(TAutoIntfObject, IEbClient)
procedure CallBackClient(ActionID,UpdateKind: Integer; aValue:
oleVariant); Safecall;
end;
but in c++ builder I tried in many ways..such as..
class TCallback : IEbClient
{....};
or
class IEbClient : IDispatch
{.....}
I don't know how to declare "TCallBack = class(TAutoIntfObject, IEbClient)"
(two classes..)
thanks
Technical Details
Message-ID:
<3ac0bfd2_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!zeus.visi.com!news-out.visi.com!hermes.visi.com!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!212.251.12.102References:
<3abb913f_1@dnews> <3ABFE4AD.44971985@temporaldoorway.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,428a5fd36dd1ff14 X-Google-Attributes: gidfcd2b,public X-Google-ArrivalTime: 2001-03-27 08:46:07 PST From: "Goumatianos" <goumatianos@hotmail.com> Newsgroups: borland.public.cppbuilder.database.multi-tier References: <3abb913f_1@dnews> <3ABFE4AD.44971985@temporaldoorway.com> Subject: Re: About callbacks Date: Tue, 27 Mar 2001 19:36:05 +0300 Lines: 29 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.102 Message-ID: <3ac0bfd2_1@dnews> X-Trace: 27 Mar 2001 08:29:06 -0800, 212.251.12.102 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!zeus.visi.com!news-out.visi.com!hermes.visi.com!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!212.251.12.102