Re: [fpc-pascal] Minimal Sylpheed plugin in FreePascal

2011-05-17 Thread Luiz Americo Pereira Camara
On 17/5/2011 17:03, Anton Shepelev wrote: Jonas Maebe: One likely potential cause is the fact that released FPC versions enable all floating point exceptions. Since libc does not do that, many C programs and frameworks contain invalid floating point operations. Is masking such exception

Re: [fpc-pascal] Minimal Sylpheed plugin in FreePascal

2011-05-17 Thread Jonas Maebe
On 17 May 2011, at 22:03, Anton Shepelev wrote: > Do I understand correctly, that at load my library was dis- > abling the exception mask for the whole program? The fpu exception mask is always global for an entire program. It is not possible to disable it only for the code in one single libra

Re: [fpc-pascal] Minimal Sylpheed plugin in FreePascal

2011-05-17 Thread Anton Shepelev
Jonas Maebe: > One likely potential cause is the fact that released FPC > versions enable all floating point exceptions. Since libc > does not do that, many C programs and frameworks contain > invalid floating point operations. Wow! Many thanks. I thought that information would be use- les

Re: [fpc-pascal] Minimal Sylpheed plugin in FreePascal

2011-05-17 Thread Jonas Maebe
On 17 May 2011, at 21:35, Anton Shepelev wrote: > I have tried to create a Windows plugin dll for the Sylpheed > e-mail client in FreePascal but couldn't get past a strange > side effect: the mere fact of the plugin being loaded makes > GTK's window-showing functions crash the whole program. O