locked
How to Fix System.ComponentModel.Win32Exception: An error occurred while creating window handle. RRS feed

  • Question

  • I have WCF Based Windows Application.

    when several Forms are open then Suddenly this issue Occur 'System.ComponentModel.Win32Exception: An error occurred while creating window handle.' 

    i also tried to count Handles using Process.GetCurrentProcess.HandleCount.ToString. but every time this counts very From 4000 to 5000.

    Please some one help me to solve Issue.

    Monday, October 29, 2018 7:08 AM

Answers

All replies

  • Hi,

    see the following link

    https://stackoverflow.com/questions/222649/winforms-issue-error-creating-window-handle

    Best Regards,

    Alex


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by Mayur Nakrani Tuesday, October 30, 2018 1:01 AM
    • Unmarked as answer by Mayur Nakrani Friday, November 2, 2018 1:10 AM
    • Marked as answer by Mayur Nakrani Friday, November 2, 2018 1:10 AM
    Monday, October 29, 2018 9:06 AM
  • Thank You For the Reply.

    I tried to Reduce No of Handlers and get better Result, but the Performance of System become slow.

    is there any way to Improve performance ?.

    Wednesday, October 31, 2018 11:32 AM