🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Return MIDAS error mesages

#257
From: Carlos F. Quijano
Date: Thu, 18 Jul 2002 20:15
47 lines
1988 bytes
Hi again...

Well , I try to use your code but my program no works.

Is any interface required?

When I try to read 'er', allways is null , why?

Ths again!

Carlos

"vavan" <vavan@santel.ru> wrote in message
news:7docju8kok5dhnrdu4t0mmvbju70rjpvr3@4ax.com...
> On Wed, 17 Jul 2002 17:21:55 -0500, "Carlos F. Quijano"
> <cquijanot@cable.net.co> wrote:
>
> >Server:
>
> your server side code seem to be OK
>
> here is what I use on client side:
>
> void ThrowExcepInfo(HRESULT hr,const EXCEPINFO &ei){
>   if(S_OK==hr)return;
>   if(ei.bstrDescription==0)
>     OleCheck(hr);
>   else
>     throw
>
EOleException(String(ei.bstrDescription),ei.wCode,String(ei.bstrSource),Stri
ng(ei.bstrHelpFile),ei.dwHelpContext);
> }
>
> and your code will be look like
>
>     try
>     {
> HRESULT hr;
>
> ThrowExcepInfo((hr=QARiskServer.RS_Iniciar()),QARiskServer.excepinfo);
>     }
>     catch(...){
>
>
> --
> Vladimir Ulchenko aka vavan
Technical Details
Message-ID: <3d3721ba_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!hermes.visi.com!newsfeed.media.kyoto-u.ac.jp!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3d34457c$1_2@dnews> <hs1ajugvj0on4o3rlg7q9g3mo6319ggmij@4ax.com> <3d35edec_1@dnews> <7docju8kok5dhnrdu4t0mmvbju70rjpvr3@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,8d4f5f1f9527f08e
X-Google-Attributes: gidfcd2b,public
X-Google-ArrivalTime: 2002-07-18 13:33:28 PST
From: "Carlos F. Quijano" <cquijanot@cable.net.co>
Newsgroups: borland.public.cppbuilder.database.multi-tier
References: <3d34457c$1_2@dnews> <hs1ajugvj0on4o3rlg7q9g3mo6319ggmij@4ax.com> <3d35edec_1@dnews> <7docju8kok5dhnrdu4t0mmvbju70rjpvr3@4ax.com>
Subject: Re: Return MIDAS error mesages
Date: Thu, 18 Jul 2002 15:15:16 -0500
Lines: 49
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 200.24.80.34
Message-ID: <3d3721ba_1@dnews>
X-Trace: dnews 1027023290 200.24.80.34 (18 Jul 2002 13:14:50 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!hermes.visi.com!newsfeed.media.kyoto-u.ac.jp!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews