lua-users home
lua-l archive

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


Thanks.  I have already read the FAQ about _CrtIsValidHeapPointer.
It describes two possbile reasons:
1. Stack overflow
   No, The stack's size is only 2 or 1 
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?

Thank you.



----- Original Message ----- 
From: "Luiz Henrique de Figueiredo" <lhf@tecgraf.puc-rio.br>
To: "Lua list" <lua@bazar2.conectiva.com.br>
Sent: Thursday, August 17, 2006 10:01 AM
Subject: Re: _CrtIsValidHeapPointer Problem


> Your C code seems ok. You mention a DLL. So see
> http://lua-users.org/wiki/LuaFaq and look for
> _CrtIsValidHeapPointer there.
> 
> --lhf
>