Article View: borland.public.cppbuilder.database.multi-tier
Article #889GetErrorInfo in my MIDAS application
From: vavan
Date: Tue, 19 Dec 2000 06:16
Date: Tue, 19 Dec 2000 06:16
15 lines
1458 bytes
1458 bytes
Trying to get rich error info of exception happened in AppServer on client side but GetErrorInfo returns S_FALSE. I've tried both Binh Ly's (see tips and tricks section on his excellent site) and Andrew Hihlovski's (from February 23, 2000 in borland.public.cppbuilder.language) approaches but neither seem to work. On client side I try to invoke server's method via global variable Serv which is initializated in a such way: IDispatch* disp=(IDispatch*)(DCOM->AppServer); IRDMTreatyDisp Srv((IRDMTreaty*)disp); Serv.Bind(Srv,1); Using DCOM->AppServer.OleFunction(..) instead of Serv doesn't bring better result. BCB5, Update Pack #1
Technical Details
Message-ID:
<3a3efd74_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!news.maxwell.syr.edu!neel.uni2.net!newssuck.uni2.dk!bornews.borland.com!dnews!195.170.216.131Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,3ad0d39e589a83d8,start X-Google-Attributes: gidfcd2b,public X-Google-ArrivalTime: 2000-12-18 22:24:34 PST From: "vavan" <vavan@santel.ru> Newsgroups: borland.public.cppbuilder.database.multi-tier Subject: GetErrorInfo in my MIDAS application Date: Tue, 19 Dec 2000 09:16:42 +0300 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 NNTP-Posting-Host: 195.170.216.131 Message-ID: <3a3efd74_1@dnews> X-Trace: 18 Dec 2000 22:17:24 -0800, 195.170.216.131 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!news.maxwell.syr.edu!neel.uni2.net!newssuck.uni2.dk!bornews.borland.com!dnews!195.170.216.131