Xojo/Windows 7 DrawableD2D.cpp Error

It seems we have an idea… with that, @Meestor_X could get a 32Bit build to work fine.

Let’s just say for now: It is yet another one of these “Direct2D Hardware Rendering issues with Xojo built apps.”

It’s unfortunate that this only works with 2019r2 (and newer):

In App.Open set the following environment variable: System.EnvironmentVariable("XOJO_D2D_SOFTWARE_RENDERING") = "True"

That would confirm it’s indeed yet another situation where Xojo’s “Direct2D Hardware Rendering” is not working as expected.

Another suspect usually is the Listbox, in combination with a ScreenScaling of something that could produce an uneven number. E.g.: scaling 125%; dynamic Listbox.Column.Width’s (using % and/or *).
Workaround for that: do compute the width’s yourself, so that (Scaling respected) the end-result is always a “full pixel width” for each Listbox.Column.