如何在Web浏览器上运行mfc应用程序 [英] how to run mfc application on web browser

查看:294
本文介绍了如何在Web浏览器上运行mfc应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我们可以在网络浏览器上运行mfc应用程序。



当前的mfc应用程序需要更改才能在Web浏览器上运行。



有没有办法运行mfc应用程序在Web浏览器上运行。< br $> b $ b



请帮我解决这个问题。我正在工作这三个月来在网络浏览器上运行mfc



申请。





提前谢谢你。

Hi,

Can we run the mfc application on the web browser from where ever we want.

What need to be change in the current mfc application to run on web browser.

Is there any way to run mfc application to run on web browser.


please help me out regarding this problem. I am working on this past three months to run mfc

application on web browser.


Thank u in advance.

推荐答案

不,你不能。这个问题毫无意义,并且基于误解。



对于记录,Microsoft ActiveX技术可用于执行某些本地系统代码在客户端,但严格地说,它不会完全在浏览器中,即使代码是在浏览器的进程中调用的。此外,所有平台和浏览器都不支持此技术,并且非常不安全。我建议一定要避免它。
出于所有实际目的,你甚至不想在Web应用程序中使用MFC。 Web应用程序适用于所有平台,MFC仅适用于Windows。再一次,没有意义。







No, you cannot. The question makes no sense and is based on misconception.

For a record, Microsoft ActiveX technology can be used to execute some local-system code on the client side, but, strictly speaking, it would not exactly "in the browser", even if the code is called in the browser''s process. Besides, this technology is not supported by all platforms and browsers and is quite unsafe. I would recommend to avoid it by all means.
For all practical purpose, you even don''t really want to use MFC in a Web applications. Web applications are meant to work on all platforms, and MFC is only applicable to Windows. Again, makes no sense.



Kumar 09写道:
Kumar 09 wrote:

我在服务器端有两个应用程序,我想通过Web浏览器从其他系统一个接一个地调用这两个应用程序而不下载。

I have two applications on the server side and i want to call these two applications one after the other from the other systems over the web browser without downloading.

试想一下Web是如何工作的。你甚至不需要了解细节,它只是纯粹的逻辑。你有一些MFC UI的应用程序。如果您的服务器端平台是Windows,原则上您可以在服务器端执行它们。但为什么?它将在服务器端显示一些UI。谁会看到它?清洁人员在服务器机架的小岛之间除尘? :-)



此外,如果您要在某些HTTP请求上执行UI应用程序,则没有人会关闭它们。你只需耗尽服务的系统内存。



想想一下,自己感受一下荒谬。



-SA

Just think at how Web works. You don''t even need to understand the detail, it''s just pure logic. You have some application with MFC UI. If your server-side platform is Windows, in principle, you can execute them on server side. But why? It will show some UI on server side. Who will see it? A cleaning person dusting between the isles of the server racks? :-)

Besides, if you are going to execute a UI application on some HTTP request, nobody is going to close them. You will just deplete system memory of your service.

Think just a bit, to feel the absurdity of it all by yourself.

—SA


这篇关于如何在Web浏览器上运行mfc应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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