[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Registering with loadlib under Windows
- From: patrick.baur@...
- Date: Tue, 07 Dec 1999 01:03:39 -0800
I'm trying to use loadlib under Windows. No problem on incorporating
the dll with "loadlib". "callfromlib" also works fine. But: How do I
have to declare and register a function within the DLL with Lua? As far
as I understand, I can't use "lua_register", as I can't simply pass the
function pointer across the DLL boundary.
Anybody using loadlib under Windows and could send me a tiny fragment