[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Incompatibility of lua5.1.dll (from Lua Binaries) and Delphi
- From: Ignacio Burgueño <ignaciob@...>
- Date: Fri, 13 Mar 2009 10:09:38 -0300
Shmuel Zeigerman wrote:
Ignacio Burgueño wrote:
Which Lua dll from Lua Binaries? (vc8, vc9 ?) I presume a C runtime
It was tested with these:
I haven't been able reproduce the bug here with free bcc compiler (5.0 I
guess). I can't link to VCL since it's not included. So I tested two
dlls, one with Borland's C runtime statically linked and another with
the runtime linked from a dll. They both worked.
> What's interesting, segfaults occur only when a number assigned to
'var' is >= 0x80000000.
Maybe Borland is setting something and the above code triggers it? I'm
thinking of something similar to the floating point issues caused by
DirectX setting a FP flag making Lua lose precision. (not that it's the
same issue here, merely that it might be something along those lines).