Hi Ulrich,
Why not change the Value of local var reallib in mkforwardlib.lua?
Let it point to your exe, before you call the link command in mkforwardlib.lua
This way the proxy-dll will point to your .exe.
As I describe in my response to Jerome, I tried that, but got "The
procedure entry point lua.exe.luaL_argerror could not be located in
the dynamic link library lua51.dll." (I tried with and without the
extension.)
I modified mkforwardlib.lua for my scenario. and attached it to this mail. You need to call it inside a Widows SDK command window. It uses dumpbin.exe to read the exports from <param1> and writes <param2>.dll and <param2>.lib using lib.exe.
Thank you for the script; I tried the DLL that was generated, but got
exactly the same error as above when I tried then to load a module
linked to that proxy: "The procedure entry point lua.exe.luaL_argerror
could not be located in the dynamic link library lua51.dll."
Do you have a proxy library compiled against lua.exe that I can test
with (probably off-list)? Thank you.
Paul.