Another glorified weekend trying to fix a bug on BLIde that turned out to be a bug on the .net implementation of GDI+ when it is used on Windows 7 64 bits.

It’s a joy to see how the Graphics (GDI+) object that the underlying engine is giving you at a draw operation in a combo box, can have a transformation matrix applied to it, randomly, sometimes, and only on windows 7 64 bits, obviously when using windows forms.

This is maybe the most inconsistent bug I’ve ever seen on .net and I supose they’ll fix it but, just in case, if you’re developing a .net application that uses internally custom GDI drawing operations, be sure to reset any transformation matrix before any draw operation!!

Leave a Reply