Allow loading of built-in dlls with LOAD_LIBRARY_AS_DATAFILE flag set

Alexandre Julliard julliard at winehq.com
Mon Mar 19 18:45:45 CST 2001


"Dmitry Timoshkov" <dmitry at sloboda.ru> writes:

> 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?

I think it's reasonable to give the native dll priority when doing
LOAD_LIBRARY_AS_DATAFILE. An app using this wants to poke inside the
dll binary file and we are much better off giving it the 'real' thing
in this case IMO.

-- 
Alexandre Julliard
julliard at winehq.com




More information about the wine-devel mailing list