<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Christoph,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 18, 2020 at 12:08 AM Thiede, Christoph <<a href="mailto:Christoph.Thiede@student.hpi.uni-potsdam.de">Christoph.Thiede@student.hpi.uni-potsdam.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">




<div dir="ltr">
<div id="gmail-m_-4237097822391347515divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Using the latest VM candidate (<span>201912311458) on Windows, I sometimes find the output console having opened itself without showing any meaningful error:</span></p>
<p><span><br>
</span></p>
<p><span><img size="15330" id="gmail-m_-4237097822391347515img279857" style="max-width: 99.9%;" src="cid:1705b6ebecff456b1e51"><br>
</span></p>
<p><span><br>
</span></p>
<p><span>The output is:</span></p>
<p><span></span></p>
<div><span style="font-size:12pt">SetDIBitsToDevice failed (0) -- Progress completed successfully (i translated the description from German)</span></div>
<div><span style="font-size:12pt"><br>
</span></div>
<div><span style="font-size:12pt">I cannot tell exactly what's the cause, but it might be related to situations where the VM hangs a while during Windows is busy to scale all my many open windows. Or maybe, when the VM was busy to save my image (which, despite
 SSD, may take ten seconds from time to time). But I don't think any of these points should be a reason display "error no error".</span></div></div></div></blockquote><div><br></div><div><font face="comic sans ms, sans-serif">$ find platforms/ -type f -exec grep -H "width=.*height=.*bits=.*dc=" {} \;</font></div><div><font face="comic sans ms, sans-serif">platforms//win32/plugins/HostWindowPlugin/sqWin32HostWindowPlugin.c:    warnPrintf(TEXT("width=%" PRIdSQINT ",height=%" PRIdSQINT ",bits=%" PRIXSQPTR ",dc=%" PRIXSQPTR "\n"),</font></div><div><span style="font-family:"comic sans ms",sans-serif">platforms//win32/vm/sqWin32Window.c:    warnPrintf("width=%" PRIdSQINT ",height=%" PRIdSQINT ",bits=%" PRIXSQINT ",dc=%" PRIXSQPTR "\n",</span><span style="font-family:"comic sans ms",sans-serif"> </span><br></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">So this could be happening in a couple of places.  It does look to be trying to report an error:</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="comic sans ms, sans-serif">platforms/win32/plugins/HostWindowPlugin/sqWin32HostWindowPlugin.c:<br></font></div><div><div><font face="comic sans ms, sans-serif">sqInt ioShowDisplayOnWindow(unsigned char* dispBits, sqInt width,</font></div><div><font face="comic sans ms, sans-serif">                sqInt height, sqInt depth, sqInt affectedL,</font></div><div><font face="comic sans ms, sans-serif">                sqInt affectedR, sqInt affectedT, sqInt affectedB,</font></div><div><font face="comic sans ms, sans-serif">                sqInt windowIndex) {</font></div></div><div><font face="comic sans ms, sans-serif">...</font></div><div><font face="comic sans ms, sans-serif"><br></font></div><div><div><font face="comic sans ms, sans-serif">  if (lines == 0) {</font></div><div><font face="comic sans ms, sans-serif">    printLastError(TEXT("SetDIBitsToDevice failed"));</font></div><div><font face="comic sans ms, sans-serif">    warnPrintf(TEXT("width=%" PRIdSQINT ",height=%" PRIdSQINT ",bits=%" PRIXSQPTR ",dc=%" PRIXSQPTR "\n"),</font></div><div><font face="comic sans ms, sans-serif">           width, height, (usqIntptr_t)dispBits, (usqIntptr_t)dc);</font></div><div><font face="comic sans ms, sans-serif">  }</font></div></div><div><font face="comic sans ms, sans-serif"><br></font></div><div><font face="comic sans ms, sans-serif">platforms/win32/vm/sqWin32Window.c:<br></font></div><div><div><font face="comic sans ms, sans-serif">sqInt ioShowDisplay(sqInt dispBits, sqInt width, sqInt height, sqInt depth,</font></div><div><font face="comic sans ms, sans-serif">          sqInt affectedL, sqInt affectedR, sqInt affectedT, sqInt affectedB)</font></div><div><font face="comic sans ms, sans-serif">...</font></div></div><div><div><font face="comic sans ms, sans-serif">  if(lines == 0) {</font></div><div><font face="comic sans ms, sans-serif">    printLastError(TEXT("SetDIBitsToDevice failed"));</font></div><div><font face="comic sans ms, sans-serif">    warnPrintf("width=%" PRIdSQINT ",height=%" PRIdSQINT ",bits=%" PRIXSQINT ",dc=%" PRIXSQPTR "\n",</font></div><div><font face="comic sans ms, sans-serif">           width, height, dispBits,(usqIntptr_t)dc);</font></div><div><font face="comic sans ms, sans-serif">  }</font></div></div><div><br></div><div><br></div><div>I'm not a Windows aficionado^H^H^H^H^H^H^H^H^H^Hexpert so I'm not about to try and debug this ;-)</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div id="gmail-m_-4237097822391347515divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<div><span style="font-size:12pt">Best,</span><br></div>
<div><span style="font-size:12pt">Christoph</span></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div></div></div></div></div></div></div></div></div>