<body><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
                                        Hi Tobias --<div><br></div><div>There is no leak of GDI objects on my machine. Squeak 6.0 VMs seem to be fine... Please let us clarify this issue first.</div><div><br></div><div>Best,</div><div>Marcel</div><div class="mb_sig"></div><blockquote class='history_container' type='cite' style='border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;'>
                        <p style='color: #AAAAAA; margin-top: 10px;'>Am 14.11.2022 12:57:17 schrieb Tobias Pape <das.linux@gmx.de>:</p><div style='font-family:Arial,Helvetica,sans-serif'> <br>Maybe someone can revoke my C-license?<br>It's the second time I introduced a Leak with the DPI stuff -.-<br><br>> On 14. Nov 2022, at 12:13, Nicolas Cellier <nicolas.cellier.aka.nice@gmail.com> wrote:<br>> <br>> Hmm, maybe a clue:<br>> <br>>     static double getDpiSystem(void)<br>>     {<br>>          return (double) GetDeviceCaps(GetWindowDC(stWindow), LOGPIXELSY);<br>>     } <br>> <br>> shouldn't there be a ReleaseDC here ?<br><br>Probably. I didn't know that this stuff acquired something, but is makes sense.<br>Shall I or do you want?<br><br>       -T<br><br>> <br>> Le lun. 14 nov. 2022 à 12:10, Nicolas Cellier <nicolas.cellier.aka.nice@gmail.com> a écrit :<br>> I confirm that it is a GDI LEAK.<br>> If I display the number of GDI objects in the task manager, I see that the number grows up to 10,000 at which time the image hangs...<br>> <br>> Le lun. 14 nov. 2022 à 11:24, Nicolas Cellier <nicolas.cellier.aka.nice@gmail.com> a écrit :<br>> Sorry, for shorten message, continued below...<br>> <br>> Le lun. 14 nov. 2022 à 11:18, Nicolas Cellier <nicolas.cellier.aka.nice@gmail.com> a écrit :<br>> Hi all,<br>> as Eliot already reported in October, after a few minutes, the 64bits image locks up on windows.<br>> The console reports an error from within ioShowDisplay<br>> <br>>     SetDIBitsToDevice failed (0)<br>>     width=1364,height=757,bits=7FF7471D68E8,dc=FFFFFFFF9D010B72<br>> <br>> then several other gdi calls start to fail, like<br>> <br>>     CreateCursor failed (0)<br>> <br>> a bit further, SetDIBitsToDevice failed (8), the error message concerns <br>> <br>>  The error message a bit further is about insufficient memory resources to perform the SetDIBitsToDevice<br>> <br>> If I open an image, leave it alone, and observe the Squeak.exe process in TaskManager, I clearly see a memory leak.<br>> The error happens after about 15 or 16Mbytes increase.<br>> So we should track the origin of un-released resources, and the problem will then probably vanish.<br>> <br>> For now, it's a show-stopper for me.<br>> <br>> Nicolas<br><br><br></nicolas.cellier.aka.nice@gmail.com></nicolas.cellier.aka.nice@gmail.com></nicolas.cellier.aka.nice@gmail.com></nicolas.cellier.aka.nice@gmail.com></div></blockquote>
                                        </div></body>