http://bugs.winehq.org/show_bug.cgi?id=3950
Summary: Could not load 'SOUND.DLL' Product: Wine Version: 0.9.2. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: wine-multimedia AssignedTo: wine-bugs@winehq.org ReportedBy: cus@fazekas.hu
When I start the MATLAB4 application it says: Could not load 'SOUND.DLL' required by 'matlab ', error=2
This bug showed up in wine 0.9.2, 0.9 works fine.
The bug is probably caused by the CVS commit "Correct name of sound.dll to sound.drv (WIN16)." at Sun Oct 30 19:06:59 2005 UTC.
At the moment, wine calls kernel32.__wine_dll_register_16 with dll name "sound.drv", but when NE_LoadDLLs calls MODULE_LoadModule16 a ".DLL" extension is appended to 'SOUND'. So MODULE_LoadModule16 gets called with "SOUND.DLL" and because of that, find_dll_descr will not find the entry of "sound.drv", and wine tries to load a native dll instead of using a built-in.