<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div dir="ltr" data-setdir="false">Hello,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I've been stuck on this issue, where code compiled in Visual Studio (C++) and code compiled via the cross-compiler, MinGW, in a Wine test are behaving differently (I'm using Ubuntu 16.04).  It is surprising me, because these are a few virtually identical API level calls and I assumed that would result in the same behavior.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">This is code from dlls/comctl32/tests/combo.c, compiled in the mirrored 64-bit build folder  .   I wrote a small test function in Wine, compiled and ran it.  </div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><span><span style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;">I wrote the same test in Visual Studio.    These are all API level calls.   </span></span><br></div><div dir="ltr" data-setdir="false"><span><span style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;"><br></span></span></div><div dir="ltr" data-setdir="false"><span><span style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;">It is with Visual Studio that I boiled the bug I'm working on to a few sequential API calls, but, strangely, the cross-compiled code doesn't give the same results.</span></span></div><div dir="ltr" data-setdir="false"><span><span style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;"><br></span></span></div><div dir="ltr" data-setdir="false">I ran them both on Windows 10 and Windows 7.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I can provide details, but I wonder if anyone has any insights concern these differences?  </div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Thanks!</div><div dir="ltr" data-setdir="false">...John Alway</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><br></div></div></body></html>