Rob replied to Dean Ramsier
21-Nov-09 02:30 PM
Our software needs about 120 handles normally.
Even that number is quite high i think (threads,fonts,brushes,windows etc...).
We are still searching for the cause of the handles running out.
One thing I tried is to put a retailmsg in handle.c, where the "completely
out of handles" error is given, and run a release version booting it from PB.
The handles seem to be given out in some 2-stage structure which i havent
quite figured out yet, but it looks like there are 127 * 512 handles to be
used, is that right ? (1st stage counter goes from 512 to zero, then back to
512 and the second-stage counter is decreased)
Are there any known HANDLE-API's that require Closehandle under CE, but
Donot require that nunder XP ? (so a difference in handle-behaviour CE/XP)
Kind regards,
Rob.
www.robtso.nl