🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: how to throw exeption on server and catch it in client

#450
From: Mark Cashman
Date: Mon, 29 Oct 2001 12:29
15 lines
1592 bytes
Hi, Colin!

The only way I know of to pass an error across a COM or DCOM interface
is via the HRESULT. I vaguely recall the existence of an option that
automatically translates an error HRESULT into an exception on the
client side, but I can't find it in the documentation.

------
Mark Cashman (TeamB - C++ Builder), creator of The Temporal Doorway at
http://www.temporaldoorway.com
- Original digital art, writing, music and more -
C++ Builder / JBuilder Tips and The C++ Builder Programmer's Webring
(Join us!)
http://www.temporaldoorway.com/programming/index.htm
------
Technical Details
Message-ID: <3BDD4BBF.FB5EFE9E@temporaldoorway.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3bcbec8c_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,92960e24efe86687
X-Google-Attributes: gidfcd2b,public
X-Google-ArrivalTime: 2001-10-29 04:36:20 PST
Message-ID: <3BDD4BBF.FB5EFE9E@temporaldoorway.com>
Date: Mon, 29 Oct 2001 07:29:51 -0500
From: Mark Cashman <mcashman@temporaldoorway.com>
Reply-To: mcashman@temporaldoorway.com
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.multi-tier
Subject: Re: how to throw exeption on server and catch it  in client
References: <3bcbec8c_2@dnews>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.14.197.193
X-Trace: dnews 1004358614 24.14.197.193 (29 Oct 2001 04:30:14 -0800)
Lines: 17
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews