[kernel] When loading "SOUND" in win16, load sound.drv instead of sound.dll

Dan Kegel dank at kegel.com
Sun Jul 23 21:13:57 CDT 2006


The fix for http://bugs.winehq.org/show_bug.cgi?id=3641
broke win16 apps that load just "SOUND" and expect
the system to find the first matching .drv or .dll.
This is described in http://bugs.winehq.org/show_bug.cgi?id=3950
and also prevents Lotus 1-2-3 Release 5 and AmiPro for Windows 3.1,
plus several other apps, from starting.

The right fix might be to add a search list (first .dll, then .drv)
to NE_LoadDLLs(), but the simpler approach of changing
NE_LoadDLLs to default to .drv just for "SOUND" seems to get these
apps running without breaking Freedom Force (bug 3641),
the app that caused the sound.dll -> sound.drv rename.
And this of course will not break any native 32 bit apps,
which don't use NE_LoadDLLs to load "sound".

Changelog:
kernel/ne_module.c:  default to .drv just for 16 bit "SOUND" (fix bug 3950)

 ne_module.c |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sounddrv.patch
Type: text/x-patch
Size: 969 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060723/0e8fffa1/sounddrv.bin


More information about the wine-patches mailing list