Hello Tomas and thanks for the infos. Hum, ok, so I give you the hand to find why the original code finishes the program with some memory leak. Fre;D ----- Many thanks ;-) -- Sent from: http://free-pascal-general.1045716.n5.nabble.com/