Solved

List Handles for current Process

Posted on 1997-07-14
1
258 Views
Last Modified: 2013-12-03
I have a program that I am trying to develop and intermittently it loses a handle. I have a good idea of what handles are being created in my process but I can't track down what the problem is.

If I can find a way to list all of the handles before and then after the offending function call then I should be able to spot where I'm failing to free up the handle.

Is there an API or some source that would allow me to dump all of the current handles, their type and any information that might be relevent (Event handle names) for my process at any point?
0
Comment
Question by:cuthbert
1 Comment
 
LVL 1

Accepted Solution

by:
pcs071997 earned 100 total points
ID: 1400872
you can develop that program using two-way method.one is win32 sdk's pview95 sample.the other Toolhelp32.dll function.(see the MSJ 95.9, Matt Pietrek)
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question