开发者

Handle usage on Windows CE

开发者 https://www.devze.com 2023-02-13 07:38 出处:网络
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 be开发者_运维问答lie

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 be开发者_运维问答lieve 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消