通过远程桌面连接连接时,WPF控件无法在Windows 7中呈现 [英] WPF controls not rendering in windows 7 when connecting through Remote Desktop Connection

查看:153
本文介绍了通过远程桌面连接连接时,WPF控件无法在Windows 7中呈现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows 7中通过远程桌面连接呈现WPF应用程序时遇到问题.

I am having problems with rendering of a WPF application over a remote desktop connection in windows 7.

没有任何控件显示,就像窗口没有绘制一样.

None of the controls are getting displayed, as if the window is not drawing.

如果我直接使用不带RDP的计算机,则相同的应用程序可以正常工作

Same application works if I use the machine directly without RDP

此致

Divya

推荐答案

嗨Divya,

Hi Divya,

 

  • 我们现在在所有情况下都将其作为位图进行远程控制.
  • 原因是WPF 3.5 SP1现在使用了新的图形DLL(wpfgfx.dll),并且无法对Windows 7的现有图形DLL(milcore.dll)进行某些更改.由DWM使用.
  • 尽管起初可以看到这是一个回归,但取决于应用程序场景(例如非常丰富的场景)的复杂性,这实际上可以提高某些情况下的性能.此外,具有相当高带宽的连接以及 例如,不要涉及大量动画或3D,往往会通过位图进行远程控制.
  • We now remote as bitmaps in ALL cases.
  • The reason is that WPF 3.5 SP1 now uses a new graphics DLL (wpfgfx.dll) and certain changes could not be made to windows 7  existing graphics DLL (milcore.dll) that is also used by DWM.
  • Although this could be seen a regression at first, depending on the complexity of the application scene (e.g. very rich scenes) this can actually improve performance in certain scenarios . Also, connections with reasonably high bandwidth and scenarios that don’t involve a lot of animation or 3D, for instance, tend to remote just fine via bitmaps.

 

 

 

 


这篇关于通过远程桌面连接连接时,WPF控件无法在Windows 7中呈现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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