🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #1237

Urgent : How to use the RDM method

#1237
From: Alex Cheng
Date: Wed, 19 Apr 2000 00:00
21 lines
1236 bytes
Hi all ,

I am a new hand to write a multi-tier program. So please help me.
My question descriptes below.
In my RDM, I create a method and it is decleared like
   THODIMP TRDMImpl::GetIndex(TVariantInParam vSymbol,  TVariant* vIndex)

In my client I call this method
   TDCOMConnection *DCOM;
   String sSymbol, sIndex;

   DCOM->AppServer.Exec(Function("GetIndex")<<sSymbol<<&sIndex);
Before executing this statement, I have done the initialize include new the
object, set the property Connect to true.
I know in the Server the vIndex has value, but in client the sIndex has no
value (=NULL).
Anybody can tell me how to get the value from Server by GetIndex.

Your early reply is highly appreciated.

Thanks all.
Technical Details
Message-ID: <38fd33c6@dnews>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,39a886cada7dccee,start
X-Google-Attributes: gidfcd2b,public
From: "Alex Cheng" <alex_cheng@intecs.com.tw>
Subject: Urgent : How to use the RDM method
Date: 2000/04/19
Message-ID: <38fd33c6@dnews>
X-Deja-AN: 612990099
X-Trace: 18 Apr 2000 21:19:18 -0800, 210.208.172.17
X-MSMail-Priority: Normal
X-Priority: 3
Newsgroups: borland.public.cppbuilder.database.multi-tier
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300