🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: global system hook

#7644
From: Remy Lebeau (TeamB)
Date: Thu, 30 Dec 2004 01:51
27 lines
1856 bytes
"nicolasr" <nicolasrNOSPAMATSIGNgmx.net> wrote in message
news:41d35b93$1@newsgroups.borland.com...

> The exe that installs the hook uses the absolute path although
> the DLL is in the same directory (exePath + "\hook.dll"). So I
> hope this is safe then.

Only as long as that path is not within the Windows folder.

You really should use unique names for your files, though.

> I found that the referencing IE instance was hanging. That probably
> was the reason why all other apps did not reference the DLL anymore
> but IE did.

Probably.

> At runtime it shouldn't matter who still holds references to the
> DLL as long as the hook is uninstalled.

Correct, unless you need to replace the DLL with a new version, such as
during an install/upgrade of your application.  At which point, you will
have to delay the replacement until the next reboot.


Gambit
Technical Details
Message-ID: <41d35eda@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41d33187@newsgroups.borland.com> <41d33e45@newsgroups.borland.com> <41d35b93$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8f50842da09c0f93
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <41d33187@newsgroups.borland.com> <41d33e45@newsgroups.borland.com> <41d35b93$1@newsgroups.borland.com>
Subject: Re: global system hook
Date: Wed, 29 Dec 2004 17:51:29 -0800
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <41d35eda@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1104371418 68.69.17.41 (29 Dec 2004 17:50:18 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail