Einzelnen Beitrag anzeigen

Benutzerbild von Duffy
Duffy

Registriert seit: 19. Mär 2003
Ort: Wuppertal
835 Beiträge
 
Delphi 3 Standard
 
#4

Re: frage zum IdIcmpClient(indy)

  Alt 6. Aug 2003, 06:04
Hallo Evian,
und warum machst Du das nicht so?
Delphi-Quellcode:
try
  mache_irgendwas;
except
  on E:EIdSocketError do {IdSocketError is an EIdException descendant that represents an exception class raised when a general socket error occurs. EIdSocketError is used to represent non-protocol specific socket errors that originate from the protocol stack, and provides the LastError property to reflect the numeric error number.}
  begin
  // jetzt machen wir hier was
  end;
end;
schau doch einfach mal unter Exception in der Indy Hilfe nach ...
bye
Künftige Generationen wollen ihre Fehler selber machen.
Jedes Programm wird nie das können, was Du wirklich brauchst.
Das Gegenteil von gut ist gut gemeint
-----
  Mit Zitat antworten Zitat