"Dmitry Timoshkov" dmitry@baikal.ru writes:
"Alexandre Julliard" julliard@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.