Article View: borland.public.cppbuilder.nativeapi
Article #2249Re: Still struggling with a DLL for keyboard hooking
From: Remy Lebeau (TeamB)
Date: Fri, 16 Mar 2007 00:26
Date: Fri, 16 Mar 2007 00:26
25 lines
1581 bytes
1581 bytes
"Bob Gonder" <notbg@notmindspring.invalid> wrote in message news:m0hjv2tasuebhpb1pnijh503t0qatdbknv@4ax.com... > Shouldn't that be a PostMessage instead? It can be. That is not a requirement, though it would speed up the hook a bit as it wouldn't have to wait for the application's response anymore. > 1) We are already processing a message (possable reentrancy) It would only be reentrant if the receiving message handler is sending its own keystrokes, which is not the case in Vladimir's example. > 2) We really don't care about the outcome That is true. > 3) It is slower (will block on ShowMessage) Also true. Gambit
Technical Details
Message-ID:
<45f9da10@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<45f9a429$1@newsgroups.borland.com> <45f9c0a3@newsgroups.borland.com> <m0hjv2tasuebhpb1pnijh503t0qatdbknv@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2dee6d400474aadb 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: <45f9a429$1@newsgroups.borland.com> <45f9c0a3@newsgroups.borland.com> <m0hjv2tasuebhpb1pnijh503t0qatdbknv@4ax.com> Subject: Re: Still struggling with a DLL for keyboard hooking Date: Thu, 15 Mar 2007 16:26:28 -0800 Lines: 27 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: 75.83.34.171 Message-ID: <45f9da10@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1174002192 75.83.34.171 (15 Mar 2007 16:43:12 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail