Hello Francois,

Found it on http://support.microsoft.com/kb/327699/en-us
this apply to XP but I found the same key in Win2K

HKLM\Software\Microsoft\Windows NT\CurrentVersion\Windows\

USERProcessHandleQuota = 18000 (default 10000)
and also
USERPostMessageLimit (REG_DWORD) should increase message queue


FP> There is also another issue related to the number of window handles. By 
FP> default W2K and up limit the number of window handle to 10000. As TWSocket 
FP> use a hidden window per socket, if you don't change that limit, you will 
not 
FP> have more than 10000 simultaneous sockets (and even less since the process 
FP> will use window handles for many other things). I haven't the MSDN 
reference 
FP> at hand, you should find it more or less easily. There is a registry key to 
FP> change to allow more than 10000 handles.

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to