Re: [twsocket] TSmtpCli in library: how to process events?

2012-10-10 Thread Arno Garrels
Ronald Wilmink wrote: > I have used the TSmtpCli component in applications without any > problems. But now, I need to use it in a service that calls a > function in a dll that has no Form, just units. > That function needs to send emails. > Since the component works with events that are not availab

Re: [twsocket] TiggerSessionClosed...

2012-10-10 Thread Arno Garrels
zayin wrote: > Hello, > > I have upgraded from D2007 to XE and I am now using version 7.04 of > ICS. > > When I close the socket I am getting a memory leak at line 686 in > TWSocketClient. TiggerSessionClosed. > > the line is New(PIdRec); > > I do see that if the PostMessage call fails, PIdRec

[twsocket] TiggerSessionClosed...

2012-10-10 Thread zayin
Hello, I have upgraded from D2007 to XE and I am now using version 7.04 of ICS. When I close the socket I am getting a memory leak at line 686 in TWSocketClient. TiggerSessionClosed. the line is New(PIdRec); I do see that if the PostMessage call fails, PIdRec is released on line 696. If the Po

[twsocket] TSmtpCli in library: how to process events?

2012-10-10 Thread Ronald Wilmink
I have used the TSmtpCli component in applications without any problems. But now, I need to use it in a service that calls a function in a dll that has no Form, just units. That function needs to send emails. Since the component works with events that are not available in the dll, mailing does