Right. I don't know how it didn't occur to me I was trashing one memory byte beyond what I had actually allocated. I fixed it and it works perfect ! Thanks to all of you who took time to tell me where my problem was. Pierre-Yves "I won't do it again, promised." Thoulon.