Posted by Stijn Sanders on August 14, 2008
In Reply to Garbage written to a TFileStream posted by RussCAp12602 on May 10, 2008
: Tx: String;every string is actually a pointer (and even a different kind of pointer than an array), so the data pointed to by "Tx" may look like garbage, the data pointed to by "Tx[1]" is where the data is.
TS.Write(Tx[1],i);
is a quick fix, but may warn about an unsafe type usage.
Related articles
Follow Ups