Article View: borland.public.cppbuilder.database.multi-tier
Article #194anyone know how to implement multi RDM in C++builder6
From: Gunakid
Date: Thu, 10 Jul 2003 08:10
Date: Thu, 10 Jul 2003 08:10
26 lines
1738 bytes
1738 bytes
when working with multi RDM, i encounter some problem: the server side
ClientDataSet can't find the provider of the server, the message is "Missing
data provider or data packet".
here is the code for the main interface's property that indicate the child
rdm,is there anything wrong with the code?
STDMETHODIMP TrdmORnTierServerImpl::get_rdmOrderInfo(IrdmOrderInfo** Value)
{
try
{
file://----------------------
TCOMIrdmOrderInfo MyObject = CordmOrderInfo::Create();
*Value = (IrdmOrderInfo*)MyObject;
}
catch(Exception &e)
{
return Error(e.Message.c_str(), IID_IrdmORnTierServer);
}
return S_OK;
};
-------------------------------------------------
thanks,
Gunakid xu
2003.07.10
Technical Details
Message-ID:
<3f0d1fb2$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-05!sn-xit-08!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3eeb2f5b@newsgroups.borland.com> <3eeb5080$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,3ce952e66dc0bcdd X-Google-Attributes: gidfcd2b,public X-Google-ArrivalTime: 2003-07-10 01:40:59 PST From: "Gunakid" <Gunakid@163.net> Newsgroups: borland.public.cppbuilder.database.multi-tier References: <3eeb2f5b@newsgroups.borland.com> <3eeb5080$1@newsgroups.borland.com> Subject: anyone know how to implement multi RDM in C++builder6 Date: Thu, 10 Jul 2003 16:10:34 +0800 Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 NNTP-Posting-Host: 210.21.106.12 Message-ID: <3f0d1fb2$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1057824690 210.21.106.12 (10 Jul 2003 01:11:30 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-05!sn-xit-08!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail