[QUOTE=christop;1122134]These three lines are a buffer overflow. array[13] does not exist. It is one char past the end of the array.

you're a legend! thanks so much for you're help!