[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Re: _CrtIsValidHeapPointer Problem
- From: "jason zhang" <jzhang@...>
- Date: Thu, 14 Sep 2006 08:59:17 +0800
Thank you so much!
----- Original Message -----
From: "Nick Gammon" <firstname.lastname@example.org>
To: "Lua list" <email@example.com>
Sent: Thursday, September 14, 2006 8:50 AM
Subject: Re: Re: _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