471,093 Members | 2,142 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,093 software developers and data experts.

Error creating Window Handle

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.

Nov 21 '05 #1
0 1126

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Altramagnus | last post: by
reply views Thread by Matt Warner | last post: by
reply views Thread by Steve | last post: by
reply views Thread by =?Utf-8?B?TWFyaw==?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.