如何在VS 2015 ATL服务项目中使用MFC [英] How to use MFC in VS 2015 ATL Service project

查看:154
本文介绍了如何在VS 2015 ATL服务项目中使用MFC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙伴, 

Hi, buddies, 




   我们有一个旧的VS6.0项目,它在Win2003 / XP环境中运行良好。但是,随着Win2003 / XP的支持终止,我们必须转向Win2012 / Win7 / Win10环境。该项目是作为ATL服务开发的,MFC支持
(因为我们的开发人员熟悉MFC并且当时对ATL没有任何了解)。现在,由于我们没有太多时间将这个项目升级到VS2015,我们决定仍然使用当前代码(使用MFC)并且只需将ATL部分的
调整为VS2015。 />

    We have an old VS6.0 project which works well in Win2003/XP environment. However, with the end-of-support of Win2003/XP, we have to move to Win2012/Win7/Win10 environment. This project was developed as an ATL service with MFC support (because our developers were familiar with MFC well and no knowledge with ATL at that time). Now, due to the fact that no much time left to us to upgrade this project to VS2015, we made a decision that we still use current codes (which use MFC) and just adapt the ATL part to VS2015.

     然而,VS2015中的ATL项目与VS6.0中的ATL项目有很大不同:ATL类(或ATL基础架构)是全新的。所以,我的问题是:在VS2015中,我们是否仍然可以创建一个支持MFC的ATL服务项目?
如何? 

     However, the ATL project in VS2015 is much different with the one in VS6.0: the ATL classes (or the ATL infrastructure) are totally new. So, my question is: can we still, in VS2015, create an ATL Service project with MFC support? And How? 

     使用VS6.0,MSDN提供了一个单独的段落,教您如何在ATL项目中使用MFC。但是,我在VS2015 MSDN帮助中找不到这样的。

     With VS6.0, the MSDN provides an individual paragragh to teach you how to use MFC in an ATL project. However, i cannot find such one in VS2015 MSDN help.




     谢谢 

     Thanks 




      Kevin

     Kevin

推荐答案

嗨Kevin LZJ,

Hi Kevin LZJ,

这个论坛正在讨论Visual Studio WPF / SL Designer,Visual Studio Guidance Automation Toolkit,开发人员文档和帮助系统以及Visual Studio Editor。

This forum is discussing Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.

你的问题与MFC开发有关,我会动这个帖子到相应论坛获得专业答案。

Your issue is related to MFC develop, I will move this thread to corresponding forum for a professional answer.

此致,

奥斯卡


这篇关于如何在VS 2015 ATL服务项目中使用MFC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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