Metro GUI连接到后台(服务)MFC C ++ app问题 [英] Metro GUI connection to background (service) MFC C++ app question

查看:99
本文介绍了Metro GUI连接到后台(服务)MFC C ++ app问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一个快速的问题让我朝着正确的方向发送,我有一个非常大的现有MFC C ++应用程序在后台运行(可选择作为Windows NT服务)。

我不喜欢我不想为Metro重写它,因为它的文件和处理密集而且不适合它。



在Metro模式下 - 我可以写一个新的C ++ Metro风格GUI应用程序连接到已经在桌面模式下运行的应用程序以进行配置和控制?



这可能吗?您认为最好的方式是什么?通过注册表?还是windows插座?或者其他方式?



谢谢,

Lee。

Hi, A Quick question to send me in the right direction, I have a very large existing MFC C++ app that runs in the background (optionally as a windows NT service).
I don''t want to re-write it for Metro as it''s file & processing intensive and not suitable for it.

Whilst in Metro mode - can I write a new C++ Metro style GUI app that connects to this app already running in desktop mode for configuration & control purposes?

Is this possible? What do you think is the best way? thru the registry? or windows sockets? or another way?

Thanks,
Lee.

推荐答案

沟通在新的Metro API模型和桌面的旧普通遗产之间?

我认为不是然后是。

您的MFC项目可以向地铁发送推送通知吗? - 我确定没有。
Communication between new Metro API model and old plain legacy of Desktop?
I think No rather then Yes.
Can your MFC project send push notification to metro? - I''m sure that No.


作为拇指的一般规则,这不是微软希望你做的。如何在没有传统桌面应用程序的Windows RT上运行?



我认为Web服务可能是一种选择。在这种情况下,服务器甚至可能是远程的。



目前,即使像Internet Explorer这样的Microsoft应用程序也远非理想,因为它们提供的唯一选择是将页面打开桌面......



我认为短期内会有很多限制,未来可能很大程度上取决于Windows应用商店应用的成功与否,有多少人仍在使用桌面,以及微软如何使用自己的产品。
As a general rule of the thumb, this is not what Microsoft want you to do. How will it works on Windows RT where there are no legacy desktop applications?

I would think that something along the line of web services might be an option. In that case, the server might even be remote.

Presently even Microsoft applications like Internet Explorer are far from ideal as the only option they gave is to open a page into the desktop...

I would think that for the short term there are a lot of limitations and the future is probably a lot dependant upon the success of Windows Store applications, how much people still uses the desktop and also upon what Microsoft do with its own products.


这篇关于Metro GUI连接到后台(服务)MFC C ++ app问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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