libs/wine/loader.c:wine_dll_get_owner and running 16 bit apps in-place

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Sat Jan 24 10:22:19 CST 2004


Hallo,

I didn't install wine, but run it in-place by giving the full path of the
wine wrapper. Now I have a 16 bit application that doesn't find the dlls it
wants to load. What happens is:
- NE_LoadDLLs tries to laod CTL3DV2.DLL
- wine_dll_get_owner resolves the symbolic link to ctl3d/ctl3d32.dll.so
- and rejects is as it contains a slash 
With additinal debug output this looks like:

fixme:module:NE_LoadDLLs BON: buffer "CTL3DV2.DLL"
fixme:module:MODULE_LoadModule16 BON: dllname "ctl3dv2.dll"
BON: readlink "/spare/wine/wine/dlls/ctl3dv2.dll.so" returned 20 errno 0"Success"
BON: readlink "ctl3d/ctl3d32.dll.so"
                    ^

Commenting out the clause that checks for a slash lets the application
proceed. What's the correct solution for this problem?

Thanks
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------



More information about the wine-devel mailing list