Einzelnen Beitrag anzeigen

Benutzerbild von Stefan Hueg
Stefan Hueg

Registriert seit: 13. Jun 2004
Ort: Gießen
187 Beiträge
 
Delphi 2006 Professional
 
#2

Re: TIdFTP.Connect aus Thread heraus ergibt AV

  Alt 16. Mai 2006, 02:42
Für Indy gibt es die Komponente "TIdAntiFreeze". Hier die Beschreibung aus der Borland Help:

Zitat:
Indy works on the blocking model. That is... when calls are made to Indy, they do not return until they are complete. If calls are made in the main thread, this will cause the Application User Interface to "freeze" during Indy calls. TIdAntiFreeze counteracts this effect. TIdAntiFreeze allows Indy to process Application messages so that Windows messages continue to be executed while Indy blocking socket calls are in effect.

Only one TIdAntiFreeze can be active in an application
Vielleicht hilft dir das ja
Stefan Hueg
  Mit Zitat antworten Zitat