Unable to load DLL via lua on Windows 10

asked 2021-08-19 22:36:49 +0000

wk01 gravatar image

I am using Wireshark 3.4.6 and Windows 10 Pro

I am trying to utilize the LuaLZO library (https://github.com/starius/luaLZO) in my lua dissector

I have built the LuaLZO with Visual Studio 16.9.4 for x64 and placed the luaLZO.dill in c:\Program Files\Wireshark\luaLZO.dll

Then in my testlzo.lua in c:\Users\user\AppData\Roaming\Wireshark\plugins\3.4 has

lzo = require 'luaLZO'

This returns

error loading module 'luaLZO' from file 'c:\Program Files\Wireshark\luaLZO.dll':
    The specified module could not be found

stack traceback:
  [C]: in ?
  [C]: in function 'require'

Is it possible to use a DLL from Lua?

edit retag flag offensive close merge delete