Article View: borland.public.cppbuilder.database.multi-tier
Article #1230TRemoteServer->AppServer
From: ��len TOZKOPARAN
Date: Wed, 12 Apr 2000 00:00
Date: Wed, 12 Apr 2000 00:00
17 lines
1017 bytes
1017 bytes
Hello, I am trying to access the COM object implemented by the remote data module. Borland Help says that AppServer property of the TRemoteServer returns the interface pointer and gives an example. IMyObjectDisp AnObject(LPDISPATCH(MyRemoteServer->AppServer)); AnObject->DoSomething(); However this coude does not even compile. I tried to cast it to the IMyObject and the call DoSomething however I get an Access Violation.. Does anybody has a sample code that works correctly. Thanks
Technical Details
Message-ID:
<8d19ra$bbr3@bornews.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,3bfc75d1c00b72f0,start X-Google-Attributes: gidfcd2b,public From: "��len TOZKOPARAN" <solen@mda.com.tr> Subject: TRemoteServer->AppServer Date: 2000/04/12 Message-ID: <8d19ra$bbr3@bornews.borland.com> X-Deja-AN: 610008467 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.cppbuilder.database.multi-tier