>You heard not only from Greg that StringToFile is suboptimal.
>
>>BTW, unless I did something wrong my tests are opposite:
>
>There is no reason to open and close in the loop if you use a special logging class.
But in order to write into the file don't we need to open with exclusive access? I don't think strtofile keeps an exclusive access on the file.
If it's not broken, fix it until it is.
My Blog