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 disables some exception masks because GTK2 code here and there raises some float exceptions (division by cero, and others).

Try to do it in your console code before the mpg123 calls.

Unit math

SetExceptionMask (if my memory serves me).


--

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to