Re: [twsocket] Invalid Window Handle when Application Closed and ActiveConnections

2008-02-19 Thread wayne forrest
It is a Bit Hard to Find the Exact Location of the Error; The Debugger goes into : Sysutils to Raise the LastOSError; System Error: 1400, invalid window handle. If I hit Ctrl+F3; to get the STACK TRace, there is nothing that is worthwhile to track. I have also tried adding this to the Applicat

Re: [twsocket] Invalid Window Handle when Application Closed and ActiveConnections

2008-02-19 Thread Francois Piette
> I get an Error when I close my Server Application: "Invalid Window Handel" > I get the ERROR when there are USers Connected. Run your application under the debugger to see where it happend exactly. > I want to put something in Application on close Event. I suggest you disconnect all clients