lua-users home
lua-l archive

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

I have used the multithreaded DLL for the DLL and multithreaded for the interpreter,
but the error is still there.

ps. The static lua library is linked into the extension DLL, is that incorrect?

what's more, why it works well when I insert a element with index zero?

Thank you.


----- Original Message ----- 
From: "D Burgess" <>
To: "Lua list" <>
Sent: Thursday, August 17, 2006 11:31 AM
Subject: Re: _CrtIsValidHeapPointer Problem

> You should use multithreaded DLL. (/MD)You cannot have a static
> Lua Library and an extension  DLL
> David B
> jason zhang  wrote:
>> 2. Different Crt library
>>    I double checked this. The crt of Lua Interpreter, Lua static Library and the extension DLL are
>>    the same. In VC6.0, I set all of them to Debug Single-Threaded. Should I use mutli-Threaded Crt?