« Return to Thread: mingwm10.dll

Re: mingwm10.dll

by Michael Gerdau :: Rate this Message:

Reply to Author | View in Thread

> > 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?

Wrong or at most partially right.

The problem is not invoking a callback, the problem in accessing
variables whose memory layout adheres to different C++ ABIs.

As long as this persists you'll have a lot of "fun" when trying to
do what you hint at.

The qork required is not fundamentally different from doing all the
things required to add SEH to gcc...

Best,
Michael
--
 Technosis GmbH, Geschäftsführer: Michael Gerdau, Tobias Dittmar
 Sitz Hamburg; HRB 89145 Amtsgericht Hamburg
 Vote against SPAM - see http://www.politik-digital.de/spam/
 Michael Gerdau       email: mgd@...
 GPG-keys available on request or at public keyserver


-------------------------------------------------------------------------
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@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

attachment0 (196 bytes) Download Attachment

 « Return to Thread: mingwm10.dll