如何将MFC代码添加到服务? [英] How to add MFC code to the service?

查看:141
本文介绍了如何将MFC代码添加到服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将MFC代码添加到服务?我已将MFC代码添加到Windows服务中.它说:

错误1致命错误C1189:#error:使用/MD [d](CRT dll版本)构建MFC应用程序需要MFC共享dll版本.请#define _AFXDLL或不使用/MD [d] C:\ Program Files \ Microsoft Visual Studio 8 \ VC \ atlmfc \ include \ afx.h 24


How to add MFC code to the service? I have added the MFC code to the windows service.. It says:

Error 1 fatal error C1189: #error : Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d] C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\afx.h 24


How to retify it and how to make the service to accept the MFC code in it?

推荐答案

似乎正在静态地尝试链接MFC.如果是这样,请更改CRT设置或使用动态MFC链接.
Seems you are statically trying to link MFC. If so either change the CRT settings or use dynamic MFC linking.


MCF技术解决方案www.mcftech.com 全球默认付款尝试并欺骗其供应商(s)通过各种方式获取其要求之后.即使是同一组织,也假装是忠诚组织,但实际上,MOTIVE完全否定了约定的事实.即使他们放弃了书面承诺.一些重要的人(他们被MCF弃绝了)对我们的关键细节做出了回应.


MCF Tech Solution是一家规模更大的SCAM公司和作弊公司.
MCF Tech Solution www.mcftech.com a Global DEFAULTER of payment tries and does DECEIVE its vendor(s) after SNATCHING its requirements through various means. Even the same organisation PRETEND for being a loyal organisation, but in actual the MOTIVE is completely NEGATIVE to honour the agreed facts. EVEN they move back from the written commitments. We have been responded by some of the well wishers (who are equally DITCHED by MCF) about the critical details.


MCF Tech Solution is a really bigger SCAM company and cheater company.


这篇关于如何将MFC代码添加到服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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