Article View: borland.public.cppbuilder.database.multi-tier
Article #626Calling Sever Interfaces
From: Alejandro Guzm�n
Date: Thu, 17 May 2001 21:20
Date: Thu, 17 May 2001 21:20
26 lines
1850 bytes
1850 bytes
Hi,
I have a application server that have a Remote Data Module with some method
and Application Client (both made in C++ Builder 5).
I register this application server in a NT server.So, i try to connect the
client with the server and implement the method that i create.
I see in the Developer�s Guide of C++ Builder 5 how can i calling a server
interface:
IDispatch* disp = (IDispatch*)(DCOMConnection1->AppServer)
IMyAppServerDisp TempInterface( (IMyAppServer*)disp);
TempInterface.SpecialMethod(x,y);
MyAppServer : Name of the remote data module in the application server.
But when i try to run the application, the compiler show me the following
error on the second line:
" Declaration syntax Error "
Please some body Know what wrong ?????? , any idea, suggestions, or please
tell me how can i do to calling server interfaces and implement method.
Thanks much
Alejandro Guzm�n
Technical Details
Message-ID:
<3b043fc4_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.sj.google.com!newsfeed.google.com!sn-xit-03!supernews.com!feeds.vnews.net!nntp.cifnet.net!out.nntp.be!propagator-dallas!news-in-dallas.newsfeeds.com!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: fcd2b,3539babba80a45b1,start X-Google-Attributes: gidfcd2b,public X-Google-ArrivalTime: 2001-05-17 14:50:02 PST From: "Alejandro Guzm�n" <aeguzmanv@hotmail.com> Newsgroups: borland.public.cppbuilder.database.multi-tier Subject: Calling Sever Interfaces Date: Thu, 17 May 2001 17:20:54 -0400 Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 NNTP-Posting-Host: 200.35.120.200 Message-ID: <3b043fc4_2@dnews> X-Trace: dnews 990134212 200.35.120.200 (17 May 2001 14:16:52 -0700) Path: arc1-ca.pugleaf.net!archiver1.sj.google.com!newsfeed.google.com!sn-xit-03!supernews.com!feeds.vnews.net!nntp.cifnet.net!out.nntp.be!propagator-dallas!news-in-dallas.newsfeeds.com!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews