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