Hi Boris, I compiled all ODB libraries and examples with -shared-libgcc -shared-libstdc++ and that did the trick. I ran the modiefied example and the exception was properly catched. Uwe