01-16-2026, 05:25 PM
(This post was last modified: 01-16-2026, 05:28 PM by Unseen Machine.)
(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

