Article View: comp.os.ms-windows.programmer.misc
Article #2941CreateProcessList
From: Thomas Vidnovic
Date: Sat, 02 Jun 2001 11:54
Date: Sat, 02 Jun 2001 11:54
12 lines
2062 bytes
2062 bytes
I'm looking for some information on the CreateProcessList method in VB. I'm chasing a problem of leaking process handles in a VB application and have been led to this method. From what I gather it uses the OpenProcess method under the hood to return a handle to each of the running processes but apparently they aren't being closed in the application I'm looking at. There seems to be very little documentation on this method and the return type CVector/CProcess. I just wanted to know if anyone was familiar with this method and if the handles returned by the call had to be closed explicitly. Please forward any information to me at vidnovic@vidnovic.com. Thanks, Tom
Technical Details
Message-ID:
<thhkutf6rvf292@corp.supernews.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!tethys.csu.net!nntp.csufresno.edu!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 110a07,84781e24f9ef8cb9,start X-Google-Attributes: gid110a07,public X-Google-Thread: 104093,84781e24f9ef8cb9,start X-Google-Attributes: gid104093,public X-Google-Thread: f7a67,84781e24f9ef8cb9,start X-Google-Attributes: gidf7a67,public X-Google-Thread: 105df1,84781e24f9ef8cb9,start X-Google-Attributes: gid105df1,public X-Google-Thread: 107824,84781e24f9ef8cb9,start X-Google-Attributes: gid107824,public X-Google-ArrivalTime: 2001-06-02 04:54:06 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!tethys.csu.net!nntp.csufresno.edu!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Thomas Vidnovic" <vidnovic@vidnovic.com> Newsgroups: comp.os.ms-windows.programmer.misc,fj.comp.lang.visualbasic,fj.os.ms-windows.programming,microsoft.public.vb.bugs,microsoft.public.vb.winapi Subject: CreateProcessList Date: Sat, 2 Jun 2001 07:54:04 -0400 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <thhkutf6rvf292@corp.supernews.com> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 X-Complaints-To: newsabuse@supernews.com Lines: 14