lua-users home
lua-l archive

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


https://github.com/pavel212/uffi

Yet another, but windows only, library to load and call functions from .dll


local ffi = require ("ffi")

local msg = ffi("user32", "MessageBoxA")
msg(0, "Text", "Caption", 1)

local std = ffi("msvcrt")
std.puts("Hello msvcrt")


best regards,
Pavel