>> >> BTW: how to pass const AnsiString parameter do BlockWrite ? Will something >> as >> blockwrite(file, par, count) suffice? > >No, you must do a > > BlockWrite(File,Pointer(Par)^,Length(Par)); > Have I do it this way in non constant case? I use BlockWrite(File, Par[1], count) regulary and it works... Petr Titera P.Titera at century.cz