简体   繁体   中英

Handle usage on Windows CE

I need to monitor handle usage on a Windows CE box.

Essentially I want to be able to see handle usage over time to tell if my applications / services are leaking handles (which I believe they are).

Any example code would be great.

While it is not exactly what you are looking for, I can recommend a little tool that we are using called CodeSnitch ( http://www.entrek.com/codesnitch.html ). It will instrument your code and keep track allocation and de-allocation of resources, including handles. I have used it to clean up several of our applications with great success. You can download a 2 week trial version to try it out.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM