We have an application built in Borland C++ Builder which runs fine, except that on Windows XP sometimes produces a series of error messages:
"Win32 Error. Code 1400. Invalid Window Handle" when the machine goes into standby or hibernation or when the screen saver starts up.
The machine will very rapidly produce hundreds of these errors.
I have not been able to trap these errors, and would appreciate any clues that would narrow down what type of event might be triggering this kind of exception.