Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

User Object Limit 10000 ?

0 views
Skip to first unread message

Daniel Hilton

unread,
Mar 22, 2002, 5:51:45 AM3/22/02
to
Hi,

I hope this is the correct newsgroup. I have a complexed Windows
program that creates lots of windows, dialogs, user coded controls
etc. The user can open 'sets' of these resources. I have found that
I can only open 4/5 'sets' before the USER object number reaches 10000
( as seen in the task manager) - and when that limit is reached my
program cannot open any more windows etc. I am using NT/ Windows
2000.

Questions :
Can an application increase this limit?
Can an application make a system call to find out this limit?
Can an application make a system call to find its curent value?
Maybe there is a 'user' or 'application' right that can be set?

Thanks in advance,

Dan.

Dave

unread,
Mar 23, 2002, 12:55:31 PM3/23/02
to
Windows enforces this restriction to prevent runaway applications from
repeatidly creating windows which eventually prevents the system from
creating any new user objects. The limit is set in the registry under:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Windows\UserProcessHandleQuota


"Daniel Hilton" <dhi...@ukonline.co.uk> wrote in message
news:3c9b0af0....@news.ukonline.co.uk...

0 new messages