🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #17278

Getting # of open handles for process?

#17278
From: CC
Date: Thu, 27 Mar 2003 18:20
13 lines
1251 bytes
Hi All.

I am trying to find an API that will give me the total number of open
handles, similar to the win2k task manager.
I have a memory leaking program, and i would like to have the program log
how many open handles it has open.

It would be nice to log number of open socket handles, file handles, and
windows handles.

Any suggestions would be appreciated,
Thanks
CurtC
Technical Details
Message-ID: <3e8340a9$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,d21d8400ab8286cc,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-27 10:22:49 PST
From: "CC" <Xcurtc@tmscorp.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Getting # of open handles for process?
Date: Thu, 27 Mar 2003 12:20:01 -0600
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 208.254.250.201
Message-ID: <3e8340a9$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1048789161 208.254.250.201 (27 Mar 2003 10:19:21 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail