Textlayout crash (latest tip windows)


#1

i saw you recently changed something with text-layout-class, so this should be interesting

Access violation reading location 0x0000001c.

The crash happens when accessing the reference from layout.getLine (i); ( i = 0, the lines array inside the layout is empty, and there is no range-check)

[attachment=0]crashtextlayout.png[/attachment]


#2

… BTW the direct-write is not enabled, because i was unable to compile with, header file missing…


#3

Ok, thanks, I’ll sort that out!