Hello,
I tried to make a FPC binding for the IUP gui toolkit. It is working well, if you don't mind the fact that
moving the mouse inside the window makes it crash.
The program throw a
SIGFPE,
EDivByZero: Division by zero and
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged. (apparently it isn't revelant)
Clicking on buttons to open another dialog is ok.
The same program in C doesn't crash.
I compiled myself the library and there was no error;
FPC returns no error nor warnings at compilation.
Do you have any idea about this ? I searched but found nothing about this behavior.
Here are the units and the program just in case :
iupdef.pas :
http://pastebin.com/a3rjTCqeiupkey.pas :
http://pastebin.com/Z91dyaDniup.pas :
http://pastebin.com/FxJbRtvWprogram.pas :
http://pastebin.com/PWBF4UGh