Well, the file i am working with is a map-file for my game, so in the game I won't write to it, only read. Maybe in a map-editor if one will exist someday..

But the length doesn't matter, every string I read has a length of 5 characters. I'm doing the setlength thing in my code, but I forgot to post it.
I changed the ReadBuffer line now and with your code it seems to work.
thanx for that.

sven