Alter the version heuristics a bit

Mike Hearn mh at codeweavers.com
Wed Feb 9 09:56:57 CST 2005


I don't think we're quite ready to report NT by default yet, a bunch of
stuff gets unhappy. To be honest I'm not keen on the idea of trying to
guess the version anyway, IMHO it's far more predictable and user
friendly to just default to Windows 98 and at some point in the future,
when we deem it the right time, default to WinXP.

For now this patch lets DCOM98 install again.

ChangeLog:
Alter the version heuristics a bit


-------------- next part --------------
--- dlls/ntdll/version.c  (revision 132)
+++ dlls/ntdll/version.c  (local)
@@ -470,7 +470,7 @@ static DWORD VERSION_GetLinkedDllVersion
         case 0  :
             switch(ophd->MajorImageVersion)
             {
-            case 4 : return NT40;
+            case 4 : return WIN98;  /* most apps will use this */
             case 0 : return WIN95;
             }
             break;


More information about the wine-patches mailing list