LDT with an external library (winapi.dll) [message #1146940] |
Sun, 20 October 2013 14:19 |
Kirk Tierney Messages: 2 Registered: October 2013 |
Junior Member |
|
|
Hello, Forum.
I am much enamoured of the Lua language implementation in interacting with C/C++. But in simulating my hardware, I wanted to use Koneki LDT with Steve Donovan's WinAPI library-- winapi.dll. Not much success.
When I use the stand-alone Lua interpreter, this library needed only the following:
a) Put Donovan's winapi.dll in the code path for the interpreter.
b) Simplest Lua code example:
require 'winapi'
for i = 1, 10 do
print(os.clock())
winapi.sleep(100)
end
This does not work for me in Koneki LDT. I have read the forums, looking for equivalent issues, and (maybe) I see similar ones out there, but always confusing.
I ask for a bit of simple guidance:
(i) Is there a direct way to use this kind of library in LDT?
(ii) If not, is there an indirect way?
(iii) If there is either a direct or indirect way, can someone here please point me to it?
Thanks,
KT
|
|
|
|
Powered by
FUDForum. Page generated in 0.02964 seconds