开发 WPF 应用程序以在 Windows XP 嵌入式监视器上运行
我拥有使用 WPF 开发 Windows 客户端桌面应用程序的经验,但我从未为 Windows XP 嵌入式设备开发过应用程序。我们在工厂周围有运行 XP 嵌入式显示器的显示器,我想知道开发在 XP 嵌入式显示器上运行的 WPF 应用程序是否存在任何问题。
例如,与开发在 XP 台式机上运行的 WPF 或 Silverlight 应用程序相比,开发在 XP 嵌入式显示器上运行的 WPF 应用程序面临哪些挑战?
I'm experienced developing Windows client desktop apps with WPF, but I've never developed apps for a Windows XP embedded device. We have monitors located around the factory that run XP embedded and I would like to know if there are any issues developing a WPF application to run on the XP embedded monitor.
For instance, what are some of the challenges developing a WPF application to run on an XP embedded monitor compared to developing a WPF or Silverlight application to run on an XP desktop machine?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
几年前,我们在 WPF 中开发 Kiosk 风格的应用程序并在 XP Embedded 上运行时遇到的最大问题是 CPU 性能和显卡驱动程序问题。显卡驱动程序经常无法正确渲染 WPF 应用程序,并产生渲染假象。鉴于 WPF 需要最新的 DirectX 驱动程序以及 XP 嵌入式的性质,它限制了我们解决问题的机会。最后,我们选择使用完整的工作站,因为我们可以更好地控制显卡问题,并且我们可以为信息亭购买更实惠、更强大的 CPU。
更重要的是,XP Embedded 仅支持 .NET 3.0(及更低版本)。有黑客解决方法,但我相信 许可证禁止安装 3.5+,由于它不受支持,您可能不希望在工厂车间使用它。
根据 Silverlight 下载页面<,嵌入 XP 的任何版本显然都不支持 Silverlight /a>.
The biggest issues we encountered several years ago with developing a Kiosk style application, in WPF, and running it on XP Embedded were around performance of the CPU, and graphic card driver issues. The graphic card driver often failed to render the WPF application correctly, and produced rendering artificats. Given that WPF requires up-to-date DirectX drivers and the nature of XP embedded, it limited our opportunities to fix the problem. In the end, we went to using full workstations as we could better control the graphic card issues, and we could buy more affordable and powerful CPUs for the Kiosks.
More importantly, only .NET 3.0 (and lower) is supported on XP Embedded. There are hack workarounds, but I believe that the license prohibits installation of 3.5+, and since it's not supported, you may not want it on a factory floor.
Silverlight apparently is not supported in any version on XP embedded according to the Silverlight download page.