Article View: borland.public.cppbuilder.nativeapi
Article #7645Re: global system hook
From: nicolasr
Date: Thu, 30 Dec 2004 02:48
Date: Thu, 30 Dec 2004 02:48
24 lines
1854 bytes
1854 bytes
>> 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. > Ok, I will better change the file name. >> 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. > Good point! I haven't thought about that yet. thanks for your time, Nick
Technical Details
Message-ID:
<41d36c69$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!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-mailReferences:
<41d33187@newsgroups.borland.com> <41d33e45@newsgroups.borland.com> <41d35b93$1@newsgroups.borland.com> <41d35eda@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: "nicolasr" <nicolasrNOSPAMATSIGNgmx.net> Newsgroups: borland.public.cppbuilder.nativeapi References: <41d33187@newsgroups.borland.com> <41d33e45@newsgroups.borland.com> <41d35b93$1@newsgroups.borland.com> <41d35eda@newsgroups.borland.com> Subject: Re: global system hook Date: Thu, 30 Dec 2004 03:48:10 +0100 Lines: 27 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: 217.239.17.184 Message-ID: <41d36c69$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1104374889 217.239.17.184 (29 Dec 2004 18:48:09 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!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