> Also make sure you are linking to the correct .lib file (it should be
> small, not >100K). It is very easy to link Lua statically by mistake, > and this will cause weird crashes at runtime if you then load modules > that were linked to the Lua DLL. The opposite can also happen (your > app is linked against the Lua DLL, the module links Lua statically), > and also leads to pain and crashes, not necessarily in this order. :-) > > -- > Fabio Mascarenhas Thank you very much; what you said took me down the solution path. These were the libs I had (God knows where I got them): Directory: C:\rev\src\luasqltest\lib Mode LastWriteTime Length Name ---- ------------- ------ ---- -a--- 10/13/2010 10:57 AM 812898 lua.debug.lib -a--- 10/13/2010 10:57 AM 1004420 lua.release.lib I replaced these with the lib from the lua for windows install: Directory: C:\rev\src\luasqltest\lib Mode LastWriteTime Length Name ---- ------------- ------ ---- -a--- 8/28/2008 3:04 PM 26112 lua5.1.lib Everything is working now. I knew it must have been something simple. RW Ron Wilson, Engineering Project Lead (o) 434.455.6453, (m) 434.851.1612, www.harris.com HARRIS CORPORATION | RF Communications Division assuredcommunications™
_______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/