Article View: borland.public.cppbuilder.nativeapi
Article #3895Re: How to find if a DLL is still loaded
From: David
Date: Tue, 11 Apr 2006 13:56
Date: Tue, 11 Apr 2006 13:56
39 lines
2478 bytes
2478 bytes
> I still don't understand what David (the op) is trying to achieve. The DLL sends messages to my app but I don't send messages back. If the user exits the app then I would like to warn the user that there is still a DLL trying to communicate with it before the user exits. Therefore I need to know if the DLL is still in use. Actually I do have access to source code for the DLL so maybe I could do something from the DLL end. I asked here once whether or not you could send messages to a DLL and it wasn't a simple proposition either. regards david "Boba" <Boba@somewhere.world> wrote in message news:443bd8e0$1@newsgroups.borland.com... > "Dennis Jones" <nospam@nospam.com> wrote in message > news:443aac3c$1@newsgroups.borland.com... >> ... >> There's probably an easier way, but the first thing that comes to mind is > to >> enumerate the modules loaded by each process currently running on the >> system, looking for the one you're interested in. If you don't find it, > it >> isn't loaded. >> > 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. > I still don't understand what David (the op) is trying to achieve. > >
Technical Details
Message-ID:
<443c5e6a@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.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: "David" <davids@unite.com.au> 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 23:56:56 +1000 Lines: 41 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 211.26.206.233 Message-ID: <443c5e6a@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1144807018 211.26.206.233 (11 Apr 2006 18:56:58 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.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