Re: [twsocket] SMTPCli within a NT service - stack overflow

2005-06-13 Thread Francois Piette
> client socket event) and then start de connect of the smtp, but, > the other commands of the smtp occurs out of the event of the > socket client. I put a delayed call to the smtp.connect (to > occurs outside the event) and...magic! works... > well, don´t understand why, anyway, I will test more,

Re: [twsocket] SMTPCli within a NT service - stack overflow

2005-06-13 Thread Moacir Flávio Gonçalves
Well, I think I found the problem. When I write a small application it works fine. But in my software it isn´t... The app is a server and have a listening socket, a client socket and a smtp client. When a client of the app send a message, the app sends a request of data to another app (data base)

Re: [twsocket] SMTPCli within a NT service - stack overflow

2005-06-13 Thread Moacir Flávio Gonçalves
Good! I will, but, meanwhile, I use delphi 7, no update... I´ll make a version available Thanks Flavio Rm 12:2 - "E não vos conformeis com este século, mas transformai-vos pela renovação da vossa mente, para que experimenteis qual seja a boa, agradável e perfeita vontade de Deus." - Origi

Re: [twsocket] SMTPCli within a NT service - stack overflow

2005-06-13 Thread Francois PIETTE
No idea. Can you write a very small test program that reproduce your problem ? btw: I use SMTP in service apps without any problem. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: "Moacir Flávio Gonçalves" <[EMAIL PROTECTED]> To: Sent: Monday, June 13, 2005 1:42

[twsocket] SMTPCli within a NT service - stack overflow

2005-06-13 Thread Moacir Flávio Gonçalves
The HTTPCli 401 problem (triggered twice is resolved, thanks a lot)... Now I'm experiencing another "problem" with a SMTP. It's inside a NT service. The problem occurs after I send any email, in another thread then the current one. It's like if a message was sent but with any kind of problem, bec