Searching the web and not finding a sufficient answer I have to ask again: Is there any way to increase the maximum amount of GDI Objects for Windows 10?
The application i'm using is written in VB6 with some third party controls (leaks from the controls are possible) and it uses a lot of child windows for displaying data across the app.
Edit: The Application itself is designed to create multiple intances of very large user controls. Each control contains a heavily modified third party grid, toolbars and windows forms. The forms themselves can open different user controls (with grids, toolbars and forms) and so on. Therefore large numbers of handles are created. We always hunt for leaks and fix them immediately but unfortunately not everything is a leak but a side effect of the application design (which was made before my time).
I tried several things, from increasing the registry values under
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\GDIProcessHandleQuota]
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion\Windows\GDIProcessHandleQuota]
to increasing the desktop heap but nothing takes effect. Even after a restart the limit is still 10000 handles.
It seems like there is a static value somewhere hidden inside windows or the registry which overwrites the value because even lowering the value does not affect the limit of 10000 handles.
Thanks in advance!