Re: [twsocket] SMTPCli and COM inprocess DLL

2009-07-28 Thread Arno Garrels
Markus Humm wrote: > Ok, but I think I already obeyed to this. The correct sequence was ThreadDetach in context of the thread that created the data module, later in TThread.Execute: MyIcsObject.ThreadAttach try AssignEventHandlers; CallAsyncMethod; PumpMessages until SessionClosed;

Re: [twsocket] SMTPCli and COM inprocess DLL

2009-07-28 Thread Markus Humm
Hello, > > my D2007 ICS V5 based app uses SmtpCli in a COM server DLL which was > formerly a real exe file with a mostly hidden VCL main form and thus a > separate message loop. But the SmtpCli was bound to its own thread via > setting multithreaded to true and threaddetaching and threadattaching >

Re: [twsocket] SMTPCli and COM inprocess DLL

2009-07-27 Thread Arno Garrels
Markus Humm wrote: > Hello, > > my D2007 ICS V5 based app uses SmtpCli in a COM server DLL which was > formerly a real exe file with a mostly hidden VCL main form and thus a > separate message loop. But the SmtpCli was bound to its own thread via > setting multithreaded to true and threaddetaching