"Dimitrie O. Paun" dpaun@rogers.com writes:
Herein lies the problem: -- SearchPathA does not know about WINEDLLPATH, it will just look for "appname.dll" which obviously does not exist (because we have "appname.dll.so"). The trace clearly shows that it will look in the right directory for "appname.dll", and it fails to find it, so it proceeds to look in the WINDOWS dir. So the path is not the problem, but rather the fact that SearchPath doesn't know to also look for .so file when searching for a .dll.
That shouldn't matter, it should load the .so even if the corresponding .dll doesn't exist, as long as the .so is somewhere in WINEDLLPATH. Is the load order configured correctly?