Article View: borland.public.cppbuilder.database.multi-tier
Article #234SocketConnection.Appserver.Function()
From: Emmanuel
Date: Mon, 27 Sep 2004 09:09
Date: Mon, 27 Sep 2004 09:09
32 lines
1572 bytes
1572 bytes
I find that the sample source provided by Borland have error for the
C:\Program Files\Borland\CBuilder6\Examples\Midas\Adhoc\adhcclnt.bpr
which cannot be compiled successfull
by the way, I need some sample which for the call to call the server
function
in Delphi which is very easy
SocketConnection.Appserver.Function()
but it is very difficuilt in cb6
IQNADisp AdhcServ;
__try{if(!scQNA->Connected)
{scQNA->Connected = true;
}
_di_IAppServer h=scQNA->GetServer();
AdhcServ.Bind(h);
AdhcServ.Function();
}
__finally{if(AdhcServ.IsBound())
{AdhcServ.Unbind();
}
}
and I found that it cannot work in AdhcServ.Bind(h);
would you help me?
Thank
Technical Details
Message-ID:
<4157d896@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: fcd2b,781d96c12e2ce801,start X-Google-Attributes: gidfcd2b,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Emmanuel" <emmanuel@erphk.com> Newsgroups: borland.public.cppbuilder.database.multi-tier Subject: SocketConnection.Appserver.Function() Date: Mon, 27 Sep 2004 17:09:53 +0800 Lines: 34 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 202.146.98.71 Message-ID: <4157d896@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1096276118 202.146.98.71 (27 Sep 2004 02:08:38 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail