Hi! I have to write a dll which downloads some file. I created a project using example "OverbyteIcsDll2.dpr" as a sample. There are 2 differences. I must put a form inside the dll, which is just a user interface to set up and save connection parameters, but this form is not created at the time of transfer. So NOFORMS is not defined. The other difference is that I create a datamodule in the thread, and ftpcli is created inside that module. I use async methods. It is started from a method of datamodule: FTPCli.OpenAsync; FTPCli.MessageLoop;
The transfer is working fine. The problem is, when OnSessionClosed is fired, PostMessage sends WM_QUIT to FTPCli.Handle* but MessageLoop does not exit. * Also tried FtpCli.ControlSocket.Handle and FtpCli.WndHandler.Handle What am I missing? Thank in advance. Peter
A(z) kimenő üzenetben nem található vírus. Ellenőrizte: AVG - www.avg.com Verzió: 9.0.872 / Vírus adatbázis: 271.1.1/3287 - Kiadás dátuma: 11/29/10 08:34:00
-- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be