Re: The Big Project I was working on
- Posted by ghaberek (admin) Jun 21, 2021
- 1017 views
Icy_Viking said...
The text still doesn't display correctly. I've tried using allocate_string and allocate_wstring().
It's possible that the library is not making a local copy of the string so it's just reading garbage from a dangling pointer.
Try removing the ,1 from allocate_string() so it won't auto-free the memory and see if that fixes it.
-Greg