lua-users home
lua-l archive

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

Jeremy Darling <> [2007-07-13 08:03:11]:

> I've searched all over the web and the only library I've found is LuaCOM,
> but the last update was back in 2005 and it appears is for Lua 5.0.  I'm
> working in Lua 5.1 and would like something that worked as a standard DLL
> Module that can be plugged under Lua itself.  Anyone have any ideas on where
> to start or if there is another way to go about this using only the normal
> Windows API?  Sorry for the two sided question, but I'm going nuts!

You can either port LuaCOM to recent Lua release (consider it, you're giving
something back), or you can use C/Invoke[1] and use Windows OLE/API directly.
Similar to Python's ctypes or .Net's pinvoke().


-- ynezz