If I change to 64 bit, will the app run on 32-bit PCs. Most of my users only have them.
[...]However, I RUN OUT OF MEMORY when I tried to execute SL.SaveToFile after the main loop.I need another approach to create the output file. Any suggestions?
If you write strings to a stream why not use TStream.WriteAnsiString;
Without Lineending, the file is not easily readable or editable in something like Notebook. Weird characters still appear. I haven't been able to get WriteAnsiString to provide output like Write(s[1],length(s)), after adding LineEnding to "s".