|
-
Jul 13th, 2023, 11:31 PM
#1
Thread Starter
Lively Member
Retrieving Desktop Heap value in VB.NET for "Error creating window handle" issue with
I am experiencing an issue with my application where, when I open multiple instances of the same application, I occasionally encounter the error message "Error creating window handle."
Based on the information provided in this link, https://stackoverflow.com/questions/...-window-handle , the potential causes for this error could be the exhaustion of GDI objects, user objects, or the Desktop Heap.
However, I have verified that the values for GDI objects and user objects remain within their respective limits during this error occurrence. Nonetheless, I suspect that the problem may lie in the utilization of the Desktop Heap value by the application.
I would greatly appreciate it if someone could offer a code snippet in VB.NET or provide guidance on how to retrieve the Desktop Heap value used by the current application. My goal is to gain insights into whether the Desktop Heap value contributes to the occurrence of the "Error creating window handle" error when running multiple instances of the application simultaneously.
Thank you in advance for your assistance.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|