Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Apr : Re: tidclient disconnect close problem
| Subject: | Re: tidclient disconnect close problem |
| Posted by: | "mustafa korkmaz" (no..@none.com) |
| Date: | 16 Apr 2007 13:37:31 |
if the connection closed by server program "connect again" button appears on the user screen.
if the user dont use this button and try to close the program the program can not be closed or freeze.
It can be closed only task manager.
while the program conected to server if the program has not been closed by server it can be closed properly.
When the server program closes the connection of client program(Athread.connection.disconnect;) client program shows disconnected screen.User can try to reconnect from this screen with "connect again" button.But if the user does not use this button and than try to close program this exception occurs.And can not close program.
Otherwise users can close program properly.
"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote:
>
>"mustafa korkmaz" <none@none.com> wrote in message
>news:4623aedf$1@newsgroups.borland.com...
>
>> Ok..I try with below code but the result didnt chanced..
>
>What EXACTLY, step by step, did you do? What is the actual problem
>now?
>
>> I try to trace the program while closing, in this indy procedure
>> "procedure TIdTCPConnection.Notification(AComponent:
>> TComponent; Operation: TOperation);" this error occured:
>> Ewin32 Error with message 'Win32 Error Code:1400. Invalid window
>handle..
>
>There is nothing inside of Notification() that can possible raise that
>exception. It has to be coming from somewhere else.
>
>
>Gambit
none