[fpc-pascal] Same code from LCL project throw error in console application
joshyfun at gmail.com
Tue Apr 16 22:28:15 CEST 2013
El 16/04/2013 21:23, Krzysztof escribió:
> 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, buffer_size, done);"
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.
SetExceptionMask (if my memory serves me).
More information about the fpc-pascal