lua-users home
lua-l archive

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

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!