Q&A

  • EInOutError with message I/O error 122
AssignFile(F,HeaderControl1.Sections[1].Text);

Rewrite(F);



Query1.close;

Query1.ParamByName('FNAME').AsString := fname;

Query1.open;

Query1.first;

while not Query1.eof do

begin

s := Query1.FieldByName('PACKET').AsString; //Record구분

Write(F,s);

Query1.next;

end;

CloseFile(F);





이런 루틴에서, rewrite를 만나면 EInOutError with message I/O error 122 라는 에러가 뜨네여. 이게 뭔가여?

0  COMMENTS