lua-users home
lua-l archive

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


Am 01.04.2014 11:24 schrieb steve donovan:
On Tue, Apr 1, 2014 at 11:20 AM, Moose <moose@posteo.de> wrote:
The executable itself is in my case a unit test that links against the dll that exposes the functions. The executable itself does not expose anything. Microsofts dependency walker shows that the DLL exposes the C functions all
right. After all, it works when I explicitly load() the DLL.

Then it should work.  I agree, if you have LuaJIT you may as well use
the FFI because it is faster and less work to set up.  But, are these
functions exported as "extern "C"" - because C++ mangling will mess up
the names.  Look to see what the function names actually are.

They are. There's no mangled names, that I am sure of. I have verified that in dependency walker.

But, if that's not working, then it will be a LuaJIT specific question.

All right. Thanks a bunch. I will ask there.

Cheers,
Moose