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;
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
>
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