如何从MFC VC6 VC ++迁移到WCF .net [英] how to Migrate from MFC VC6 VC++ to WCF .net
问题描述
亲爱的所有人,
我有一个用VC6(Visual Studio 6)制作的应用程序工具.这是一个VC ++ MFC应用程序.
现在,我的客户希望将此工具的大多数功能用作WCF服务,并可以在基于Java Web的应用程序中使用.
我想知道实现这一目标的最佳方法是什么.
我应该以WCF的形式在.net中开发新的应用程序工具,还是可以将我的应用程序移植到.net中,然后将其转换为WCF服务?
请提出更好的方法来满足我的要求.
预先感谢,
Nilesh
Dear All,
I have an application tool which is made in VC6 (Visual studio 6). It is a VC++ MFC application.
Now my client wants most of the features from this tool as WCF service which he can consume in his java web based application.
I want to know what may be the best way I can achieve this.
Shall I develop new application tool in .net as WCF or I can port my application in to .net and then convert it in to WCF service?
Please suggest better way to achieve my requirement.
Thanks in advance,
Nilesh
推荐答案
实际上,应该采用的方法是创建wcf服务,然后将代码移植到.net,同时将其添加到.net.服务.
由于您使用的是C ++/MFC,因此该过程可能完全是手动的,这意味着没有自动转换实用程序.
Actually, the way it should go is that you should create a wcf service, and then port your code to .net while at the same time adding it to the service.
Since you''re going from C++/MFC, the process is going to probably be completely manual, meaning there''s no automatic conversion utility available.
这篇关于如何从MFC VC6 VC ++迁移到WCF .net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!