I want to load my DLL with your LuaCVI.lib, but I got this message:
In CVI I load my scriptfile - works fine:
luaError = luaL_dofile(L, "bib.lua");
fprintf(stderr, "%s\n", lua_tostring(L, -1));
until I want to load my DLL :
require "myDLL" -- in my scriptfile
Someone knows what to do?
I suppose I have to compile the lib new ... but I don't know what I have to change in the configurations.
I´m having the same problem. Neither _popen() nor _pclose() are recognized by CVI in the normal mode, by changing the calling convention to stdcall I run into problems with other CVI functions. How did you solve this problem in order to be able to load .dll files?
long time ago your question - but I did not recognize.
So I can't remember (the flag in lua-source - sorry) ... but you can try to use my lib to load your lua-dll modules.
Good luck ...
and add my lib into project