Allow loading of built-in dlls with LOAD_LIBRARY_AS_DATAFILE flag set

Dmitry Timoshkov dmitry at sloboda.ru
Mon Mar 19 18:24:34 CST 2001


"Alexandre Julliard" <julliard at winehq.com> wrote:

> I think it would be better to keep the existing support for native
> dlls, and simply fall back to loading the builtin library if
> SearchPath fails. It's unlikely we are ever going to support proper
> LOAD_LIBRARY_AS_DATAFILE for builtin dlls anyway.

But here is a problem. This doesn't honor a load order. If load order
of a requested dll explicitly specified as 'builin' but 'native' library
there is somewhere in the path, then we will get unexpected result.
How to cope with it?

At least DONT_RESOLVE_DLL_REFERENCES should be doable.







More information about the wine-devel mailing list