[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Re: _CrtIsValidHeapPointer Problem
- From: Nick Gammon <nick@...>
- Date: Thu, 14 Sep 2006 10:50:13 +1000
On 14/09/2006, at 10:42 AM, jason zhang wrote:
So what should I do? Dynamic link to the core lua lib?
When I first added Lua to my application I statically linked it, to
save distributing an extra DLL.
However then when I tried to do a loadlib (eg. to the Lua Socket
library) I got this exact problem - two different sorts of Lua memory.
My advice is, if one part of the system is going to use DLLs, make
sure they all do.