[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Running Lua from within a Window Program
- From: Thijs Schreijer <thijs@...>
- Date: Tue, 20 Sep 2016 07:19:47 +0000
> On 20 Sep 2016, at 08:11, steve donovan <email@example.com> wrote:
> On Tue, Sep 20, 2016 at 4:39 AM, Erik Hougaard <firstname.lastname@example.org> wrote:
>> The only trouble you can get into, is if your DLL is 32bit and the Windows
>> Program is 64bit, then you need a Lua53.dll compiled for 64bit (a 64bit
>> process cannot load a 32bit DLL).
> The other thing that's important: the DLL must also be compiled with
> mingw so that both the program and the DLL are using the same runtime.
This ^^^ actually is the most important caveat. 64 vs 32 bit you will notice immediately, yet having the wrong runtime, will give you hard to trace sporadic failures.