将DLL添加到MFC应用程序 [英] Adding a dll to mfc application
本文介绍了将DLL添加到MFC应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何将mfc dll添加到在VS2008中开发的另一个mfc应用程序中
how to add mfc dll to another mfc application developed in VS2008
推荐答案
只用Google查找教程:
面向初学者的常规DLL导师 [从MFC扩展DLL中导出C ++类 [为初学者创建和使用MFC DLL [
Just google to find tutorials:
Regular DLL Tutor For Beginners[^]
Exporting C++ Classes from an MFC Extension DLL[^]
Creating and consuming MFC DLLs for Beginners[^]
通常(隐式链接)中包含DLL
头文件(例如 mfcdll.h )放入应用程序源文件,然后将DLL
的.lib
文件(例如 mfcdll.lib )添加为额外的链接器依赖项.
Typically (implicit linking) you include theDLL
s header file (say mfcdll.h) into the application source file(s) and add theDLL
''s.lib
file (say mfcdll.lib) as additional linker dependency.
在最近的记忆中已经出现了很多,为什么在问问题之前不搜索该站点?
This has come up a lot here in recent memory, why not search the site before asking questions?
这篇关于将DLL添加到MFC应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文