lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Thank you so much!

----- Original Message ----- 
From: "Nick Gammon" <>
To: "Lua list" <>
Sent: Thursday, September 14, 2006 8:50 AM
Subject: Re: Re[2]: _CrtIsValidHeapPointer Problem

> 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.
> - Nick