Original date:2021-06-21 18:49:16 Edited by: Icy_Viking Subject: Re: The Big Project I was working on

ghaberek said...
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.


What do you know, that fixed it. Still this is still a massive project to take on. Should I still free the meomry using free()?

Not Categorized, Please Help


Quick Links

User menu

Not signed in.

Misc Menu