Article View: borland.public.cppbuilder.nativeapi
Article #5605Re: Amount of open files
From: JF Jolin
Date: Wed, 03 Aug 2005 20:28
Date: Wed, 03 Aug 2005 20:28
24 lines
1524 bytes
1524 bytes
Andreas Osswald <noname@noname.de> wrote: > I want to know how many files are opened by my application without > closing > it. You are right if you say the programm should know this. But if you > forgot once to use close() or you returned out of a function before you > call > close() a stream keeps open. Under DOS-OS there was the possibility to > use > flushall() it returned all open streams an it was helpful to find errors > like described. > > Andreas > For debug purposes this might be an help. http://www.sysinternals.com/Utilities/Filemon.html -- JF Jolin
Technical Details
Message-ID:
<opsux8ifmbz6rw7b@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<42f09312$1@newsgroups.borland.com> <42f095b9$1@newsgroups.borland.com> <42f0b912$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,6a0cee41cdcb7499 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Amount of open files References: <42f09312$1@newsgroups.borland.com> <42f095b9$1@newsgroups.borland.com> <42f0b912$1@newsgroups.borland.com> Message-ID: <opsux8ifmbz6rw7b@newsgroups.borland.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed From: JF Jolin <jfj@nospam.com> MIME-Version: 1.0 Date: Wed, 03 Aug 2005 16:28:53 -0400 User-Agent: Opera7.11/Win32 M2 build 2887 NNTP-Posting-Host: 66.158.146.219 X-Trace: newsgroups.borland.com 1123101023 66.158.146.219 (3 Aug 2005 13:30:23 -0700) Lines: 24 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail