Re: How to modify WM_CHAR posted by function "PostMessage" before it is received by the application ?

From: Joseph M. Newcomer (newcomer_at_flounder.com)
Date: 03/05/04


Date: Fri, 05 Mar 2004 17:45:04 -0500

There have been numerous security-related changes in XP. The WM_CHAR has wonderful
security implications, and they may have deliberately broken this feature. It would make
sense to (actually, it would make more sense to not allow system-wide message hooks, but
only if security matters. If it doesn't, which is the current design, then it doesn't
matter. The ability to intercept messages should be a securable feature, or better)
                                joe

On Thu, 4 Mar 2004 21:46:05 -0800, "Spotato" <anonymous@discussions.microsoft.com> wrote:

>Sorry,but I mixed up 2 projects.
>The one mentioned in my first message is different from the one in second message.
>But my final aim is the second one,to modify the WM_CHAR posted and received by other application (I have not its source code).
>In order to simplify the debugging,I made the first project, just to see whether the WM_CHAR can be modified.
>And I have run the first project in Windows 98, it works well;but unfortunately,it dose not work in Windows XP system.
>So what puzzled me is that why WM_CHAR cannot be modified in Windows XP.
>I cannot find any clew in MSDN. I am looking farword to hearing from you.

Joseph M. Newcomer [MVP]
email: newcomer@flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm



Relevant Pages


Loading