You are right. I found out by myself that using -> instead of . was working
but i didnt really understand why.

I will follow your advice and take some information about c++ pointers that seems to be really different from delphi.

thx for ur help all.