U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » [FIXED] GLDraw,GLCtrl would be nice to work properly (OpenGL ver must be >= 2.1 with full-caps)
Re: GLDraw,GLCtrl would be nice to work properly [message #58621 is a reply to message #58620] Tue, 05 July 2022 01:05 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Klugier wrote on Mon, 04 July 2022 23:36
w.DrawText(sz.cx - sz.cx / 3, sz.cy - sz.cy / 3, angle * 10, "x   Text with angle " /*+ AsString(angle)*/);

Replacing AsString with IntStr cause the same error. I think the problem must be with utoa32 (Format.cpp) function and it's memory management on 32 bit architecture.

Klugier


Well, accidentally, AsString in this case does not allocate any memory.... Smile

What is more likely that glyphs for digits are maybe causing the problem. Maybe you can replace AsString with "123" ?

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to create a hidden folder?
Next Topic: is memsetex really at optimal speed?
Goto Forum:
  


Current Time: Sat Jun 27 03:05:25 GMT+2 2026

Total time taken to generate the page: 0.00721 seconds