Windows挂钩减慢远程终端会话。 [英] windows hook slowing down remote terminal session.

查看:67
本文介绍了Windows挂钩减慢远程终端会话。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个MFC应用程序。

I have a MFC application.

它有全局挂钩 - >全局消息挂钩和全局鼠标挂钩。

It is having Global hooks -> Global Message Hook and Global Mouse hook.

需要全局挂钩,因为我们需要捕获此MFC应用程序中的所有消息和鼠标移动。详细说明,此MFC应用程序将其按钮插入其他应用程序的标题栏。

Global hooks are needed because we need to capture all messages and mouse movements in this MFC application. In detail, this MFC application inserts its button on other application's title bars.

当在Windows PC上运行MFC应用程序时,没有明显的系统缓慢。

When MFC Application run on Windows PC, there is no visible system slowness.



场景:现在,有一台Citrix PC。 Citrix提供了一些终端会话。当使用此MFC应用程序时,终端会话上的用户观察到可见的缓慢。


Scenario: Now, there is a Citrix PC. There are some terminal sessions given out by Citrix. A user on terminal session when use this MFC application, visible slowness is observed.



请建议一些避免缓慢的方法。


Please suggest some method to avoid slowness.



谢谢


Thanks

推荐答案

我有一个MFC应用程序。

I have a MFC application.

它有全局钩子 - >全局消息挂钩和全局鼠标挂钩。

It is having Global hooks -> Global Message Hook and Global Mouse hook.

需要全局挂钩,因为我们需要捕获此MFC应用程序中的所有消息和鼠标移动。详细说明,此MFC应用程序将其按钮插入其他应用程序的标题栏。

Global hooks are needed because we need to capture all messages and mouse movements in this MFC application. In detail, this MFC application inserts its button on other application's title bars.

当在Windows PC上运行MFC应用程序时,没有明显的系统缓慢。

When MFC Application run on Windows PC, there is no visible system slowness.



场景:现在,有一台Citrix PC。 Citrix提供了一些终端会话。当使用此MFC应用程序时,终端会话上的用户观察到可见的缓慢。


Scenario: Now, there is a Citrix PC. There are some terminal sessions given out by Citrix. A user on terminal session when use this MFC application, visible slowness is observed.



请建议一些避免缓慢的方法。


Please suggest some method to avoid slowness.



谢谢


Thanks


这篇关于Windows挂钩减慢远程终端会话。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆