Gather Control Handle information

benjamin

Member
Joined
Nov 5, 2008
Messages
22
Location
Cook Islands
Programming Experience
5-10
Hi,

I have a problem whereby some rubbish code is not releasing its memory (eventually reaches the 10k handle limit and crashes).

I'm looking to insert some logging in the application to dump a list of handles present at the point of failure.

Am wondering if any learned people have some code/tips for this?

thanks!
 
for dumping a list of the file handles I use a sysinternals command line utility, there may exist a similar thing for window handles.. Have a look for spy type programs that accept command line args?
 
Back
Top