lua-users home
lua-l archive

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

> I'm not able to use loadlib using only the name of the dll: 
> local f = loadlib("mylib.dll","mylib_open")
> f()
> If I include the full path, it works:
> local f = loadlib("c:\\mylibpath\\mylib.dll","mylib_open") 
> f()
> It's the correct behavior?

Yes. loadlib is a primitive operator; it does no path search.

-- Roberto