<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Thank you!<br>
      <br>
      I had a look on the proposed code and I think there is a major
      problem with trying to increase only the *minor* version <span
        class="moz-smiley-s8"><span> =-O </span></span><br>
      <br>
      <br>
      Let's assume we are on a future Windows 9 and that one has the
      actual version number 7.0.<br>
      <br>
      GetVersionEx() would still report v6.2, so the first version we
      would try to <span class="typ">check via VerifyVersionInfo</span>()
      <i>with the proposed</i> code would be v6.3.<br>
      <br>
      But the check for v6.3 would fail! That's because the minor
      version "3" is <b>not </b><span class="pln">GREATER_EQUAL</span>
      to "0".<br>
      <br>
      So we would stop there and end up with v6.2. Bummer!<br>
      <br>
      <br>
      With the code that I proposed earlier (and when starting with
      v6.2), we would <i>first</i> check v7.0. If that worked, then we
      would check v8.0 next.<br>
      <br>
      And if that didn't work, we would go on to check v7.1. So with my
      code we should end up with v7.0, as expected...<br>
      <br>
      See here:<br>
      <a class="moz-txt-link-freetext" href="http://pastie.org/private/prwfdmzmc6kullfrvvuq">http://pastie.org/private/prwfdmzmc6kullfrvvuq</a><br>
      <br>
      Regards,<br>
      MuldeR<br>
      <br>
      <br>
      On 24.10.2013 15:19, Friedemann Kleint wrote:<br>
    </div>
    <blockquote cite="mid:52691E58.1010109@digia.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Hi,<br>
        <br>
        for your information, we are working on a patch for this:
        <meta http-equiv="content-type" content="text/html;
          charset=ISO-8859-1">
        <a moz-do-not-send="true" class="moz-txt-link-freetext"
          href="https://codereview.qt-project.org/#change,69129">https://codereview.qt-project.org/#change,69129</a> 
        .<br>
        <br>
        Regards,<br>
        Friedemann<br>
      </div>
      <br>
      <pre class="moz-signature" cols="72">-- 
Friedemann Kleint
Digia, Qt
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Development mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Development@qt-project.org">Development@qt-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.qt-project.org/mailman/listinfo/development">http://lists.qt-project.org/mailman/listinfo/development</a>
</pre>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      <a class="moz-txt-link-freetext" href="http://www.youtube.com/watch_popup?v=Jay-fG9eaYk#">http://www.youtube.com/watch_popup?v=Jay-fG9eaYk#</a>!
    </div>
  </body>
</html>