[fpc-devel] c:\fpc\2.2.2\examples\gtk1 and gtk2 : Required DLL Files

Paul Ishenin ip at kmiac.ru
Fri Sep 26 03:42:42 CEST 2008


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.




More information about the fpc-devel mailing list