http://bugs.winehq.org/show_bug.cgi?id=1967
Summary: 16bit app calls wineps.drv, but wine bultin dll is wineps.dll (missing loader alias wineps.drv --> wineps.dll) Product: Wine Version: unspecified Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-loader AssignedTo: wine-bugs@winehq.org ReportedBy: ceztko@libero.it
SUMMARY:This is not a wine bug, probably is a mis-interpretation of the printer driver name to be loaded of the app itself or of some other native dll needed (OC25.DLL,OLE2.DLL, ...). In windows no problem, but probably this is caused by the fact that 100% of the printer driver is something like "printerdriver.drv", while wine calls the postscript driver "wineps.DLL".
DETAILS:The 16 bit app have a older printer initialization mechanism: it loads the printer driver reading its name from win.ini,adding ".DRV" to it. This is a problem, cause the builtin postscript driver is called wineps.dll in wine, and the apps quits with the VB Error (482 run-time error: Printer error). I tryed to fix this making synlinks to wineps.dll.so in /etc/lib/wine/lib/wine, but the problem remains.
The debug output doesn't need comments:
err:module:NE_LoadBuiltinModule loaded .so but dll wineps.drv still not found
I verifyed this using a similar configuration in a real windows installation (renaming printerdriver.drv to .dll, leaving "printerdriver" with no ext in win.ini). In this way, the app quits with the same error. I'm sure the app is NOT calling registry to get the printer configuration (monitored it wit regmon)
There are other 2 old threads with similar (read indentical) problem: http://www.winehq.org/hypermail/wine-users/2001/04/0515.html http://www.winehq.org/hypermail/wine-devel/2001/04/0164.html, but no resolution is proposed.
Possible resolution: hopefully add the alias wineps.drv --> wineps.dll, similarly wineps16.drv --> wineps.dll . Someone told me symlinks in /usr/lib/wine/lib/wine should work....but...
This is what i have done: -rw-r--r-- 1 root root 1815919 Jan 26 00:14 wineps.dll.so lrwxrwxrwx 1 root root 13 Jan 26 19:06 wineps.drv.so -> wineps.dll.so lrwxrwxrwx 1 root root 13 Jan 26 19:07 wineps16.dll.so -> wineps.dll.so lrwxrwxrwx 1 root root 13 Jan 26 00:14 wineps16.drv.so -> wineps.dll.so
The error and debugmsg are the same. I suppose (and hope..) wine loader manages alias in a different way.
Thanks!