Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QB_Universal - Dynamic Memory System
#3
(01-16-2026, 09:02 AM)a740g Wrote: QB_SetString is unsafe. QB strings are not null-terminated. You should consider wrapping QB_SetString and adding the null-terminator at the end on the BASIC-side.
Good shout, i do usually use null termination but somehow forgot about it here! Can you explain the union thingy in bit more detail?

Thanks, and it took me and Googles AI about 8 hours of back and forth and 4 iterations to get this far.

john
Reply


Messages In This Thread
RE: QB_Universal - Dynamic Memory Sytem - by Unseen Machine - 01-16-2026, 05:25 PM
RE: QB_Universal - Dynamic Memory Sytem - by Petr - 01-17-2026, 12:19 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)