Solved

List Handles for current Process

Posted on 1997-07-14
1
254 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
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now