简体   繁体   English

如何使WPF应用程序在Citrix中成为子进程

[英]How to make WPF app work as a child process in Citrix

I am working on a 3rd party application that allows plugins to be written in .NET 1.1. 我正在开发一个第三方应用程序,该应用程序允许使用.NET 1.1编写插件。 I have decided I would like to write my plugin to call a seperate process from the .NET 1.1 plugin (achieved using Process.Start). 我已经决定编写自己的插件,以从.NET 1.1插件(使用Process.Start实现)中调用一个单独的进程。 This is fine- I create a new process that is a WPF app. 很好-我创建了一个WPF应用程序新流程。

When I launch this through MSTSC everything works as expected, however when I run the app through Citrix XenApp, the WPF child app fails to render correctly, and the mouse position starts going crazy- the child process window is basically not usable. 当我通过MSTSC启动此应用程序时,一切都按预期方式运行,但是,当我通过Citrix XenApp运行该应用程序时,WPF子应用程序无法正确呈现,并且鼠标位置开始发疯-子进程窗口基本上无法使用。 Is there a way to avoid this happening? 有办法避免这种情况吗?

If I create a seperate WPF application and deploy this through Citrix everything works fine. 如果我创建一个单独的WPF应用程序并通过Citrix进行部署,则一切正常。 If I create a child Windows forms app in .NET 3.5, that also works fine. 如果我在.NET 3.5中创建子Windows窗体应用程序,那也可以正常工作。

To fix this you need to apply the hot fix described in Microsoft KB 955692 . 要解决此问题,您需要应用Microsoft KB 955692中描述的热修复。 Once that is applied this issue no longer occurs. 一旦应用此问题,就不再发生此问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM