http://bugs.codeweavers.com/show_bug.cgi?id=591
*** shadow/591 Fri Apr 19 15:40:39 2002 --- shadow/591.tmp.19099 Fri Apr 19 15:40:39 2002 *************** *** 0 **** --- 1,39 ---- + +============================================================================+ + | wine does not verify native dll | + +----------------------------------------------------------------------------+ + | Bug #: 591 Product: Wine | + | Status: UNCONFIRMED Version: unspecified | + | Resolution: Platform: | + | Severity: normal OS/Version: All | + | Priority: P1 Component: wine-loader | + +----------------------------------------------------------------------------+ + | Assigned To: wine-bugs@winehq.com | + | Reported By: wine_bugtracking_account@dias.com.br | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | Milestone: TargetMilestone: --- | + | URL: | + +============================================================================+ + | DESCRIPTION | + Wine does not verify if a native dll is valid or not. + Wine should test if a native dll file is a valid dll before trying to loading it. + If the native dll is not valid, it should fallback to the builtin one if that + specified in the DllOverrides/DllDefaults setting. + + Why this is important? + + Because when working in a fake windows tree, some applications test if a dll + file exist first, before using it. So it is common to have a zero sized file + in its place. + e.g. + c:\windows\system\shell32.dll + + In this case the shell32.dll is know to be better used if a native + version is available, so in the DllOverrides this setting is common: + "shell32" = "native, builtin" + + However, because wine does not test it, it will consider it a valid + native shell32.dll and try to load it, and will eventually fail. + + A solution, would be to delete the empty file from the tree, however + apps that test their existence will start to fail. \ No newline at end of file