Hello Jan, I think you better use the async methods then you never will have sutch problems. If you use sync then you have to take all that into account because the code is looping whilst waiting for a result.
If you want to stay sync then call the Abort method, but I dont know if you should call the sync or async Abort to not have more progblems :( --- Rgds, Wilfried http://www.mestdagh.biz Monday, August 22, 2005, 16:27, Jan Schatz wrote: > Hello, > I dynamically create an instance of TFtpClient and try to connect to a host > using the synchronous method. Then The user closes my sub form and thus > deletes the FTP client object. If the connection cannot be established, > e.g. due to a false IP, my code runs on to handle this, as if the FTP > client object had never been deleted. I get access violations. > Has anybody experiences similar problems? And have you got solutions? > Regards > Jan -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be