Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to load DLL via lua on Windows 10

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?