Reputation: 652
I have a program thats starting to reach the 10,000 User Object limit. When I force it to go over the limit the program crashes. I could have my users change the registry entry but that is a awkward thing to ask a customer and many are not given access to the registry.
I can see the value in Task manager but I would like to get the value in my application. Is there any way to get those values programmatically?
OK I am now ready for all the comments about how only a badly written program needs that many objects ;>)
Upvotes: 3
Views: 2598
Reputation: 4402
Call GetGuiResources
. Pass GetCurrentProcess() as parameter
Upvotes: 10