本文介绍了如何检查我在Windows上打开的文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试执行fopen(C ++,Windows XP)时,我收到打开文件太多"错误.可能是因为我在程序的某个位置打开了文件而不关闭了文件.

I received a "Too many open files" error when tried to do fopen (C++, Windows XP).Probably it happened because somewhere in my program I open files without closing them.

在Windows上是否可以查看所有打开的文件描述符(或程序打开的所有文件)的列表?

Is there a way on Windows to see a list of all open file descriptors (or all files that my program fopened)?

推荐答案

您可以在流程浏览器.您还可以搜索系统中所有打开的手柄.

You can find a list of open handles in Process Explorer. You can also search all open handles in the system.

这篇关于如何检查我在Windows上打开的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 17:41
查看更多