.NET LuaInterface problem loading win32 dll in lua script

Started by
2 comments, last by AverageJoeSSU 14 years, 8 months ago
Hello, Greetings! I am using luainterface for c# .net and there is no issue in running lua scripts with c# registered functions. I use Dofile function to run lua script "_luaScriptInterface.DoFile(scriptPath);" If I try to run lua script which requires win32 dll, it could no be loaded. This works fine if I run same script from command line with "lua <filename>" I used - 'require "<mydll>"' at the begining of the lua script. Please suggest with alternative / workaround. Thanks, Anant K
Advertisement
Try putting that dll in the same folder as your exe.

------------------------------

redwoodpixel.com

The DLL is in the same folder as exe.

I would suggest downloading the source code and taking a look for yourself. you can get it on google code.

------------------------------

redwoodpixel.com

This topic is closed to new replies.

Advertisement