yes , this work fine , but where is the bug in my compiled exe? , i am using delphi 7