Hi Yoann,

are you using MinGW or MSVC? If the former, then you should make sure to
use the same compiler as the one the official binaries were built with,
see http://live.gnome.org/action/info/gtkmm/MSWindows/

Cheers,
Armin

On Thu, 2011-08-04 at 11:50 +0200, Yoann Le Montagner wrote:
> Hi,
> 
> I have a problem with exception handling on Windows. In my application, 
> I set up a global exception handler with the function 
> Glib::add_exception_handler, so that this handler is supposed to be 
> called when an exception is thrown during the execution of the main 
> loop. It works fine when the program is built under Linux, but the 
> exception handler set up by Glib::add_exception_handler is never called 
> when the program is built under Windows.
> 
> I enclose a simple testcase. When clicking on the button:
> - under Linux, the exception is normally catched in my_exception_handler,
> - under Windows, the program terminates.
> 
> What's wrong? Thanks for your help.
> 
> Yoann
> 
> _______________________________________________
> gtkmm-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/gtkmm-list


_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to