Article View: borland.public.cppbuilder.database.multi-tier
Article #1629Calling a method in an application server
From: Avinash Meetoo
Date: Thu, 08 Jul 1999 00:00
Date: Thu, 08 Jul 1999 00:00
22 lines
1075 bytes
1075 bytes
Hi, I am trying to call a method found in an application server. According to the documentation, this will do: IMyAppServerDisp TempInterface(LPDISPATCH(MyConnection->AppServer)); TempInterface->SpecialMethod(x,y); This does not compile! I've changed it to: IMyAppServerDisp TempInterface((IMyAppServer *)LPDISPATCH(MyConnection->AppServer)); TempInterface->SpecialMethod(x,y); And it compiles but throws a Priviledge violation exception when executed. What am I doing wrong? Thanks. PS: Reply to ame@dcdmc.intnet.mu please
Technical Details
Message-ID:
<7m2d20$heo13@forums.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,e7bcc5ffc8eaa4a6,start X-Google-Attributes: gidfcd2b,public From: "Avinash Meetoo" <meetoo@intnet.mu> Subject: Calling a method in an application server Date: 1999/07/08 Message-ID: <7m2d20$heo13@forums.borland.com> X-Deja-AN: 498626457 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