在两台计算机之间共享时,鼠标停止工作 [英] The mouse stops working when sharing between two machines

查看:61
本文介绍了在两台计算机之间共享时,鼠标停止工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经用C#编写了一个程序,可以在两个Win7计算机站(共享器和查看器)之间共享桌面.

当我开始共享时,一切正常:查看器显示共享者的桌面,并且远程鼠标在移动时会跟随本地鼠标. (我正在使用交互模式.)但是,当我尝试单击任意位置时,它将阻止远程鼠标与本地鼠标进行交互.或输入重定向已停止.

更烦人的是,它通常很少起作用,但我不知道为什么.

代码非常类似于

在Vista中与RDP共享Windows桌面:向您的应用程序添加专业的交互式帮助系统
我先试了一下,它有同样的问题.
但是它可以在本地主机上工作(并且该文章中的图片所示.)

I''ve written a program in C# to share the desktop between two win7 computer stations, the Sharer and the Viewer.

When I Start sharing it all works right: The viewer displays the sharer''s desktop and the remote mouse follows the local mouse when it moves. (I''m using interactive mode.) But when I try to click anywhere, it stops the remote mouse from interacting with the local mouse. Or the input redirection is stopped.

More annoying, it work normally rarely, but I don''t know why.

for the code It''s very similar to this

Windows Desktop Sharing with RDP in Vista: Add a Professional Interactive Help System to your Applications
I tried it first it has the same problem.
But it work in local host(and that what the pic shows in that article shows.

推荐答案

您编写的代码是非常相似的对此

这是否意味着您基于该文章的代码开始了代码?如果是这样,您可能想在该文章的讨论页面上发布您的问题

不要忘了在适当的时候给功劳:doh:
you wrote: for the code It''s very similar to this

Does that mean you started your code based on that article''s code? If so, you may want to post your question on that article''s discussion page

Don''t forget to give a credit where it is due :doh:


这篇关于在两台计算机之间共享时,鼠标停止工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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