<html><head></head><body><div class="ydp6e837a6ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
        <div><br></div><div dir="ltr" data-setdir="false"><div><div dir="ltr" data-setdir="false" style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px;">Stefan,</div><div dir="ltr" data-setdir="false" style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px;"><br></div><div dir="ltr" data-setdir="false" style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px;">Coincidentally, I happen to have been working on that.  I noticed that mingw is defaulting to Windows version 5 on Ubuntu for my little project.    I'll let you know when I've written the app and tested it. </div><div dir="ltr" data-setdir="false" style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px;"><br></div><div dir="ltr" data-setdir="false" style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px;">Regards,</div><div dir="ltr" data-setdir="false" style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px;">...John Alway </div></div><br></div>
        
        </div><div id="yahoo_quoted_4234696343" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Friday, November 15, 2019, 04:13:10 PM CST, Stefan Dösinger <stefandoesinger@gmail.com> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div dir="ltr">Am 15.11.19 um 03:03 schrieb Thales:<div class="yqt7799049876" id="yqtfd66060"><br clear="none">> <br clear="none">> Just for the record, in the "Optional Header," under the category<br clear="none">> "MajorSubsystemVersion," the mingw created PE binary has NT version 4<br clear="none">> (released 1996), whereas the Visual Studio 2015 PE binary has it set to<br clear="none">> NT version 6 (released 2008).<br clear="none">> <br clear="none">> So, it's exactly as you said!</div><br clear="none">Does this cause the behavior difference you see? If you edit the header<br clear="none">manually, does the mingw build get the msvc behavior and vice versa?<div class="yqt7799049876" id="yqtfd27073"><br clear="none"></div></div></div>
            </div>
        </div></body></html>