Re: [Mingw-users] mingwm10.dll
- Date: Mon, 12 Feb 2007 13:56:59 +0200
- From: Σταμάτης Μητροφάνης <smitrofanis@xxxxxxxxxxxx>
- Subject: Re: [Mingw-users] mingwm10.dll
Brian Dessent wrote:
> The problem is that Microsoft's compiler and gcc use totally different
> mechanisms for C++ exception handling/unwinding. MS uses SEH, whereas
> gcc uses SJLJ or Dwarf2, depending on how it's built. So I'm pretty
> sure it's not possible to utilize whatever kind of hooks exist in MS's
> runtime for this purpose, unless somebody contributes SEH code to gcc.
> That has been discussed in the past on the gcc list but nothing ever
> came of it, as far as I know. And even if gcc could emit SEH code, it
> still may not be possible to utilize anything from the Microsoft runtime
> because the two compilers have very different C++ ABIs.
>
I don't know very much about all these details, but if what we are
trying to do is invoke a callback whenever an exception is thrown (even
if a custom assembly wrapper callback statically linked in the
executable which calls the the mingwm10.dll functions, also statically
linked in the executable) then this shouldn't be so difficult, right?
Are there places where the MS-C-runtime-dlls invoke function pointers
during exception handling?
Well, ok, *those* might be subject to change (but maybe it depends)...
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users