Article View: borland.public.cppbuilder.nativeapi
Article #3894Re: How to find if a DLL is still loaded
From: Dennis Jones
Date: Tue, 11 Apr 2006 18:35
Date: Tue, 11 Apr 2006 18:35
21 lines
1821 bytes
1821 bytes
"Boba" <Boba@somewhere.world> wrote in message news:443bd8e0$1@newsgroups.borland.com... > been there, done that... > if a module is not curremtly beeing used by any of the software visible to > UI via what you're talking about, there are still tons of software running > in below UI level that may still need those modules in which case you may > think the module is not in use: try to delete... if it fails - keep digging > deeper. Can you explain what you mean by, "visible to the UI" and "below UI level"? CreateToolhelp32Snapshot has no notion of what's "visible to the UI" or "below UI level." According to MSDN, using the TH32CS_SNAPPROCESS flag results in a list of "...all processes in the system." Can you provide an example of a process that would not be in the list of "all processes in the system?" - Dennis
Technical Details
Message-ID:
<443bf6f6$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<443a4e43$1@newsgroups.borland.com> <443aac3c$1@newsgroups.borland.com> <443bd8e0$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,14aae0d621067c62 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Dennis Jones" <nospam@nospam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <443a4e43$1@newsgroups.borland.com> <443aac3c$1@newsgroups.borland.com> <443bd8e0$1@newsgroups.borland.com> Subject: Re: How to find if a DLL is still loaded Date: Tue, 11 Apr 2006 11:35:35 -0700 Lines: 23 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: 71.245.109.58 Message-ID: <443bf6f6$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1144780534 71.245.109.58 (11 Apr 2006 11:35:34 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail