|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++.windows.32-bits - _set_se_translator
In trying to handle structured exceptions along side c++ exceptions, I've discovered the _set_se_translator from the VC++ RTL. Long story short: 1. Is there an equivalent means of mapping SE to C++E in DMC++? 2. If not, is it on the wish list? 3. If not, please add it to the wish list. :) Thanks muchly for your time. SDR Apr 28 2003
The structured exception handling constructs __try, __except, and __finally work in DMC++. "Scott Dale Robison" <scott-news.digitalmars.com isdr.net> wrote in message news:b8iu8v$2bhh$1 digitaldaemon.com...In trying to handle structured exceptions along side c++ exceptions, I've discovered the _set_se_translator from the VC++ RTL. Long story Apr 30 2003
Walter wrote:The structured exception handling constructs __try, __except, and __finally work in DMC++. "Scott Dale Robison" <scott-news.digitalmars.com isdr.net> wrote in message news:b8iu8v$2bhh$1 digitaldaemon.com...In trying to handle structured exceptions along side c++ exceptions, I've discovered the _set_se_translator from the VC++ RTL. Long story Apr 30 2003
"Scott Dale Robison" <scott-news.digitalmars.com isdr.net> wrote in message news:b8p9rg$ldp$1 digitaldaemon.com...Right, they do work. What I'm wanting to do is portably (across multiple Win32 targeting c++ compilers) translate structured exceptions to c++ exceptions, which is difficult when they two modes of exception handling can't be mixed. _set_se_translator allows a routine to be registered that will be called when a structured exception occurs. That routine is then free to translate the structured exception in whatever way desired and then throw it. May 01 2003
Walter wrote:"Scott Dale Robison" <scott-news.digitalmars.com isdr.net> wrote in message news:b8p9rg$ldp$1 digitaldaemon.com...Right, they do work. What I'm wanting to do is portably (across multiple Win32 targeting c++ compilers) translate structured exceptions to c++ exceptions, which is difficult when they two modes of exception handling can't be mixed. _set_se_translator allows a routine to be registered that will be called when a structured exception occurs. That routine is then free to translate the structured exception in whatever way desired and then throw it. May 01 2003
Scott Dale Robison wrote:Walter wrote:"Scott Dale Robison" <scott-news.digitalmars.com isdr.net> wrote in message news:b8p9rg$ldp$1 digitaldaemon.com... .... Jan 27 2005
Carlos Smith wrote:Scott Dale Robison wrote:Walter wrote:"Scott Dale Robison" <scott-news.digitalmars.com isdr.net> wrote in message news:b8p9rg$ldp$1 digitaldaemon.com... .... Jan 27 2005
Walter wrote:The structured exception handling constructs __try, __except, and __finally work in DMC++. "Scott Dale Robison" <scott-news.digitalmars.com isdr.net> wrote in message news:b8iu8v$2bhh$1 digitaldaemon.com...In trying to handle structured exceptions along side c++ exceptions, I've discovered the _set_se_translator from the VC++ RTL. Long story May 10 2003
Scott Dale Robison wrote: <snipped> Uh, not sure how I managed that. Apologies for the duplicate post... SDR May 11 2003
|