Re: Problem using loadlib
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Problem using loadlib
- From: Roberto Ierusalimschy <roberto@...>
- Date: 2005年11月09日 10:28:02 -0200
> 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