Re: [fpc-pascal] Same code from LCL project throw error in console application

2013-04-17 Thread José Mejuto
El 16/04/2013 22:46, Krzysztof escribió: Thanks! exInvalidOp exception mask solved problem. But I don't understand. Same error I had in fpGUI project. fpGUI interface doesn't use GTK, QT etc, it drawing over pure X11 so how it is possible that application catch GTK errors? Hello, Almost any '

Re: [fpc-pascal] Same code from LCL project throw error in console application

2013-04-16 Thread Krzysztof
Thanks! exInvalidOp exception mask solved problem. But I don't understand. Same error I had in fpGUI project. fpGUI interface doesn't use GTK, QT etc, it drawing over pure X11 so how it is possible that application catch GTK errors? ___ fpc-pascal maillis

Re: [fpc-pascal] Same code from LCL project throw error in console application

2013-04-16 Thread Michael Van Canneyt
On Tue, 16 Apr 2013, Krzysztof wrote: Hi, I have strange issue. Simple mpg123 player which work fine on LCL project, on console application throw floating error in line "mh_e := mpg123_read(mh, @outbuf[0], buffer_size, done);" Here you can download demo: http://ubuntuone.com/34XmBk7Lr2yCliPP

Re: [fpc-pascal] Same code from LCL project throw error in console application

2013-04-16 Thread José Mejuto
El 16/04/2013 21:23, Krzysztof escribió: Hi, I have strange issue. Simple mpg123 player which work fine on LCL project, on console application throw floating error in line "mh_e := mpg123_read(mh, @outbuf[0], buffer_size, done);" Hello, I'm not sure but I think that the GTK2 Widgetset disable