Hello Olivier,

> I went further and traced it to the XSocketAllocateHWnd method that
> returns 0 when called from the TCustomWSocket.Create constructor for
> my client class.

There is a maximum number of user handles, per-process (default 10000),
and system-wide (AFAIK $FFFF), so this error seems perfectly OK.
Maybe your application leaks handles? If not, you may want to try to
increase the maximum number of user handles in the registry here (untested): 
HKLM/Software/Microsoft/Windows NT/CurrentVersion/Windows/USERProcessHandleQuota
Also move to ICS v6 that shares hidden windows, thus allocates far less
handles under heavy load.

--
Arno Garrels



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

Reply via email to