|
Boost Users : |
Subject: Re: [Boost-users] How to store on exception object ?
From: Emil Dotchevski (emil_at_[hidden])
Date: 2010-09-06 21:08:23
On Mon, Sep 6, 2010 at 2:44 PM, Anthony Williams <anthony.ajw_at_[hidden]> wrote:
> Emil Dotchevski <emil_at_[hidden]> writes:
>
>> On Mon, Sep 6, 2010 at 2:33 AM, Anthony Williams <anthony.ajw_at_[hidden]> wrote:
>>> Emil Dotchevski <emil_at_[hidden]> writes:
>>>
>>>> I'm assuming MSVC 9.0 and newer will just work as soon as the
>>>> appropriate exception_info_offset value is defined in
>>>> clone_current_exception_msvc.cpp. Anthony?
>>>
>>> Yes. Your implementation looks reasonable. It's worth noting that it
>>> won't work on WIN64 though.
>>
>> Thanks once again for the original code.
>>
>> Good to know it's 32-bit only. What is the reason for that? Is the
>> 64-bit MSVC exception handling code totally different, or does it only
>> differ by offsets and other magic numbers?
>
> The offsets and magic numbers are different. Also, some of the values
> that are pointers in the 32-bit code are 32-bit offsets from a
> separately-supplied base pointer in the 64-bit code.
Can you elaborate on this?
Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net