Mehmet Erol Sanliturk wrote:
(E)


When

c:\fpc\2.2.2\examples\gtk2\gtk_demo\gtk_demo.exe

is started , it is giving the following exception message
and then closing :

--------------------------

An unhandled exception occurred at $66E9433E :
EDivByZero : Division by zero
 $66E9433E
 $66E94B30
 $66E915EF
 $73B35CEC
 $73B3615E
 $77F40BB4
 $77F36F62
 $77F34D74
 $6B061F36
 $6B0623B0
 $6B08B040
 $606ACE80
 $606B1200
 $62743935
 $627569B2
 $62757D5E
 $62757FD6

This is a known bug on windows.

Use the folowing call in your application initialization section:

Set8087CW($133F);

Best regards,
Paul Ishenin.

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

Reply via email to