[Bug 1257] New: - Regression in dll loading

wine-bugs at winehq.com wine-bugs at winehq.com
Thu Feb 6 14:42:02 CST 2003


http://bugs.winehq.com/show_bug.cgi?id=1257

           Summary: Regression in dll loading
           Product: Wine
           Version: CVS
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: wine-loader
        AssignedTo: wine-bugs at winehq.com
        ReportedBy: tony_lambregts at telusplanet.net
                CC: dpaun at rogers.com


The following patch caused a regression in SimCity 3000

http://www.winehq.com/hypermail/wine-cvs/2002/09/0193.html

The second part of the patch is the one that causes the regression

--- wine/loader/loadorder.c:1.58	Thu Feb  6 19:37:34 2003
+++ wine/loader/loadorder.c	Thu Feb  6 19:37:34 2003
@@ -98,7 +98,7 @@
 /* default if nothing else specified */
 static const enum loadorder_type default_loadorder[LOADORDER_NTYPES] =
 {
-    LOADORDER_DLL, LOADORDER_BI, 0, 0
+    LOADORDER_BI, LOADORDER_DLL, 0, 0
 };
 
 static struct loadorder_list cmdline_list;

This regression is rather curious in that I had discovered it 4 months ago but
did not report it at that time. That is because I assumed the patch that broke
the program was correct and the problem was with our implementation of
MSVCRT.DLL. At this point I have re-evaluated the situation and have come to the
conclusion that the behavior of the loader is not correct. SimCity 3000 has its
own implementation of MSVCRT.DLL but with this patch applied wine does not load it.

As a matter of fact at this point there is no way I can get SimCity 3000 to load
its own MSVCRT.DLL without reverting the patch.

I have tried the following dll overrides and none of them work.

[AppDefaults\\sc3.exe\\DllOverrides]
"F:\Program Files\Maxis\SimCity 3000\Game\MSVCRT.DLL" = "native"
"F:\Program Files\Maxis\SimCity 3000\Game\MSVCRT" = "native"
"msvcrt" = "native"

I even tried copying SimCity's version of MSVCRT to my fake windows directory
with no success.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1257>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.



More information about the wine-bugs mailing list