如何在Metro Style App和桌面应用程序之间使用Inter-Process-Commun? [英] How to use Inter-Process-Communicate between Metro Style App and desktop app ?

查看:112
本文介绍了如何在Metro Style App和桌面应用程序之间使用Inter-Process-Commun?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想知道如何将数据从桌面应用程序传输到metro风格的应用程序。

I am wondering how to transfer data from a desktop app to a metro style app.

 

我使用桌面应用程序来操作硬件,使用另一个应用程序作为UI来显示结果。 IPC将数据传输到UI。

I used a desktop app to operate hardware and another app as the UI to display result. Data is transfer to UI by IPC.

I Win 8,我希望UI成为一个都市风格的应用程序。问题是如何将数据从桌面传输到metro风格的应用程序。

I Win 8, I would like the UI to be a metro style app. The question is how to transfer data from desktop to the metro style app.

我的桌面应用程序很大,不太可能在metro风格的应用程序中实现这些功能。

My desktop app is large and not likely to implement those function in a metro style app.

 


this thread
,普通IPC如SOCKET / Pipe / ShareMemory不能再用于metro风格。

As described in this thread, ordinary IPC like SOCKET/Pipe/ShareMemory could not be used in metro style any more.

WCF可能是一种方式,但Metro风格应用程序只能作为客户端工作,不适合我的情况,

WCF could be a way, but Metro style app could only work as the client and not suitable for my case,

数据经常转移到用户界面。

for data is transfer to UI frequently.

 

所以我想知道是否有解决方案这种情况?

So I am wondering is there a solution for this case ?

或者Microsoft是否为这种情况提供了解决方案?

Or does Microsoft provide a solution for this case ?

 

谢谢

 

推荐答案

嗨Cary,

您需要将通信移动到WebServ冰可以在两个应用程序之间进行通信。 如果您不希望这样做,您只需将UI移动到另一个使用Metro设计原则的桌面应用程序。

You will need to move communication to a WebService to be able to communicate between the two applications.  If you do not desire to do this, you could simply move the UI to another Desktop application that uses the Metro design principles.

-Jeff


这篇关于如何在Metro Style App和桌面应用程序之间使用Inter-Process-Commun?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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