RESEND: Try to avoid loading 16-bit DLLs into memory for
accessing version info
Alexandre Julliard
julliard at winehq.org
Mon Aug 2 12:22:01 CDT 2004
"Dmitry Timoshkov" <dmitry at baikal.ru> writes:
> "Alexandre Julliard" <julliard at winehq.org> wrote:
>> I think it would
>> be better to try to take loadorder into account, though I admit it's
>> not trivial to do.
>
> Any idea how to do it without breaking DLL separation?
A possibility would be to use wine_dll_get_owner; if the dll doesn't
have an owner then you know it's native only and you can access the
file directly. This way you only do the LoadLibrary16 for dlls that
have a builtin implementation, it's not perfect but probably good
enough.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list