[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: work3 - loadlib
- From: David Burgess <dburgess@...>
- Date: Wed, 22 Dec 2004 09:09:39 +1000
The main reason - backward compatibility with existing DLLs.
Win32 APIs.
LoadResource().
LoadString().
GetTimestampForLoadedLibrary()
The alternative for me is to load the library again for the debug APIs
or create a
a table like
_HMODULE['modulename'] = hmodule
either way I rewrite some more code.
DB
On Tue, 21 Dec 2004 11:33:54 -0200, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
> > loadlib() for Win32 in 5.0.2 passes the library handle as an upvalue
> > to the called function.
> > Can this behaviour be maintained in Lua 5.1?
>
> For what?
>
> -- Roberto
>