有关将MFC迁移到C ++的帮助,如何使CDialog相关类成为C ++ [英] Help on Migrating MFC to C++ , how to make the CDialog related classes to be make it as C++

查看:67
本文介绍了有关将MFC迁移到C ++的帮助,如何使CDialog相关类成为C ++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Team,

Hello Team,

我正在使用正在使用CDialog类和CString,CArray的MFC应用程序。

但我想使这个应用程序基于c ++。因此它将通过删除与MFC相关的类来独立运行,如dll或lib。我们正在使用MFC类从CDialog读取数据。如何避免这种基于mfc的依赖。

请帮助我。我听到了一些微服务。

I am using MFC applications which are using CDialog classes and CString,CArray things.
But I would like to make this application to be c++ based . so it will run independently such as dll or lib by removing the MFC related classes .we are reading the data from CDialog  using the MFC class. How to do avoid this mfc based dependency.
Please help me on this.I heard something microservices.

谢谢你,

问候,

Senthil

推荐答案

MFC是用C ++,因此您可以使用标准C ++对象,如字符串,向量等以及MFC代码。 但是,MFC不仅仅是几个类......它是整个应用程序使用的框架。 整个应用程序需要重写
以消除对MFC的任何依赖。
MFC is written in C++ so you can use Standard C++ objects like strings, vectors etc. along with MFC code.  However, MFC is more than a few classes...it is a framework used by the whole application.  The entire application would need to be rewritten to remove any dependency on MFC.


这篇关于有关将MFC迁移到C ++的帮助,如何使CDialog相关类成为C ++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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