使用MFC开发Web服务 [英] Develop web service with MFC

查看:65
本文介绍了使用MFC开发Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我可以使用MFC在VC ++中开发Web服务而不使用.net框架吗?

Hi,
Can I develop a web service in VC++ with MFC and without using of .net framework?

推荐答案

可以用C ++开发这样的服务肯定是,但MFC在这里主要是无关的。 MFC主要是围绕Windows API的包装器(很老,而且,我会说,非常笨拙,不方便)主要针对Windows UI开发。你会在服务中使用什么?像 CString 这样的类? :-)没有意义,真的;只会让你的工作变得不便携,绝对没有任何好处。改为使用标准C ++库。



-SA
One can develop such service with C++, for sure, but MFC is majorly unrelated here. MFC is mostly the wrapper around Windows API (very old, and, I would say, pretty clumsy, inconvenient) mostly targeted to Windows UI development. What of that would you use with the service? Classes like CString? :-) Makes no sense, really; would only make your work non-portable, with absolutely no benefits in return. Use standard C++ library instead.

—SA


这篇关于使用MFC开发Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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