[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Can not Debug
- From: wulan@...
- Date: Wed, 10 Oct 2007 16:11:55 +0800
Hi,
I write a DLL and want to be used in
Lua. So i use tolua++ to expose a part of functions.
Then i write a test programe to check
it works. In programe, i either use unexposed functions in DLL, or use
luaL_dofile to load a Lua script file which calls these exposed functions
in DLL.
When i run the tese directly, everything
is OK. But in Debug mode, when call the DLL functions unexposed to Lua,
VS2003 will pop a message box as follow:
__________________________________________________________
Protector Error
Debugger detected - please close it
down and restart!
Windows NT user: Please note that having
the
WinIce/SoftIce service installed means
that you are
running a debugger
__________________________________________________________
If i click OK button, i will exit debug
mode.
Dose anybody figure out it? Thanks!