无法从沙盒进程发送消息 [英] Cannot send message from a Sandbox process
问题描述
I have a C++ project which sets up a global hook. From the hook procedure, I send some data to my application using SendMessage (WM_COPYDATA) api. 在以下环境中测试应用程序时发现一个问题: I find out a problem when I test my application on following environments: 1. Vista中的IE7(保护模式) 1. IE7 (Protected mode) in Vista 2. Office内容(版本10)处于受保护的模式. 2. Office content (version 10) in protected mode. 3. Adobe Reader 10(保护模式) 3. Adobe Reader 10 (protected mode) 到目前为止,我知道,如果应用程序在低完整性进程中运行,并且从应用程序发送到较高完整性进程的窗口的消息将被UIPI阻止.我跟随MSDN使用ChangeWindowMessageFilter.但是,它只能解决#1问题.
从Adobe网站上,我知道它使用与Office 10相同的技术来开发保护模式. So far, I know that if an application is run in low integrity process and the message sent from it to a window of a higher integrity process will be blocked by UIPI. I follow MSDN to use ChangeWindowMessageFilter. However, it only solve #1 issue.
From Adobe website, I know that it uses the same technique as Office 10 to develop the protected mode. 请注意,Spy ++在Adobe Reader 10保护模式下工作良好.我不知道Spy ++的详细功能,但我想它在记录消息时使用了挂钩技术. Note that the Spy++ work wells for Adobe Reader 10 protected mode. I don't know what the Spy++ does in detail, but I guess it uses hooking technique in logging message. 有人可以对我的问题有任何建议吗?如果我无法将SendMessage用于Adobe Reader 10,应该使用哪种进程间通信? Could anyone have any advice on my issue? If I cannot use SendMessage for Adobe Reader 10, which interprocess communication should I use? 这篇关于无法从沙盒进程发送消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!推荐答案
能否请您提供有关SendMessageEX api的更多信息?我在互联网上搜索,并在为 Dynamics AX指定的WinAPI类中找到此函数2009 and 动态
AX 4.0 .我不知道该怎么用.请帮忙.
Could you please give more information about SendMessageEX api? I search on internet and find out this function in WinAPI class specified for Dynamics AX 2009 and Dynamics
AX 4.0. I don't know how to use it. Please help.