Some end users are getting the following message after being in the
application for quite some time.
Exception Type: System.ComponentModel.Win32Exception
NativeErrorCode: 14
ErrorCode: -2147467259
Message: Error creating window handle.
TargetSite: Void CreateHandle(System.Windows.Forms.CreateParams)
HelpLink: NULL
Source: System.Windows.Forms
The only way I have been able to duplicate this is to open up approx. 50
forms simultaneously. I understand that there is a limit of 10000 handles
per process.
I would think the window handles would be destroyed when the form is closed.
I guess the real question is there a way to manually close a window handle.
If not, is there any good informatin someone could direct me to to
understand how window handles are closed and when.
Thanks