Board index » delphi » Asynchronous option with Indy?
Dan Bassett
![]() Delphi Developer |
Dan Bassett
![]() Delphi Developer |
Asynchronous option with Indy?2004-03-03 01:23:30 PM delphi114 When I submit a request, such as an HTTP post, it locks up the application until the request has been processed. Is there a way to set it so that Indy runs in asynchronous mode so as not to lock up my application? |
Remy Lebeau (TeamB)
![]() Delphi Developer |
2004-03-03 02:22:08 PM
Re:Asynchronous option with Indy?
"Dan Bassett" <XXXX@XXXXX.COM>writes
QuoteWhen I submit a request, such as an HTTP post, QuoteIs there a way to set it so that Indy runs in asynchronous (or any other component) within the main VCL thread is to place a TIdAntiFreeze onto the MainForm. The first option is generally preferred, though, not to mention is a cleaner and safer solution and more efficient overall. Gambit |
Ben Hochstrasser
![]() Delphi Developer |
2004-03-03 03:42:32 PM
Re:Asynchronous option with Indy?
Remy Lebeau (TeamB) writes:
QuoteAll Indy operations do that. That is part of Indy's overall design. -- Ben |
Eric Jansen
![]() Delphi Developer |
2004-03-03 09:08:19 PM
Re:Asynchronous option with Indy?
"Ben Hochstrasser" <bhoc@tiscali123^H^H^H.ch>schreef in bericht
QuoteAnd not just Indy. AFAIK every "asynchronous" library employs some kind of It works great without them! Once there was a time (Win16) when there were sockets but no multi-threading. And guess what, life wasn't too bad even back then! Eric Jansen (getting too old for this job? ;-) |
Chad Z. Hower aka Kudzu
![]() Delphi Developer |
2004-03-03 10:12:08 PM
Re:Asynchronous option with Indy?
"Eric Jansen" <XXXX@XXXXX.COM>wrote in
QuoteNot true. I have been using the ICS library for a couple of years now, QuoteOnce there was a time (Win16) when there were sockets but no I have very very unfond memories of such days... Need extra help with an Indy problem? www.atozed.com/indy/experts/ |
Admiral Jake
![]() Delphi Developer |
2004-03-04 04:39:47 AM
Re:Asynchronous option with Indy?
"Chad Z. Hower aka Kudzu" <XXXX@XXXXX.COM>writes
QuoteI have very very unfond memories of such days... |
Martin James
![]() Delphi Developer |
2004-03-04 07:38:16 AM
Re:Asynchronous option with Indy?Quote
Then, at last, we got NT, 2K & XP. Rgds, Martin |