在MFC应用程序中创建自己的Dll [英] Create own Dll in MFC application

查看:95
本文介绍了在MFC应用程序中创建自己的Dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!

我想为我的MFC应用程序常用函数编写自己的dll,它总是被使用;那么我可以在win32或mfc dll模式下创建该dll吗?

请回答!!

提前致谢!!

Hi!
I want to write my own dll for my MFC application common function,which are always used; so can I create that dll in win32 or in mfc dll mode?
Please answer!!
Thanks in advance!!

推荐答案

您的问题不明确,但我会尝试回答。



您可以创建一个不包含任何MFC链接的DLL( in / out)。



您可以创建一个具有MFC链接的DLL,可能会也可能不会暴露某些MFC和/或MFC派生类。



在上述每种情况下,您的DLL都可以链接到带有或不带有MFC链接的可执行文件或带有或不带有MFC链接的其他DLL。
Your question is not clear, but I''ll attempt to answer.

You can create a DLL which does not include any MFC linkage (in or out).

You can create a DLL which has MFC linkage and may or may not expose some MFC and/or MFC-derived classes.

In each of the above cases, your DLL(s) can be linked to from an executable with or without MFC linkage or another DLL with or without MFC linkage.


这篇关于在MFC应用程序中创建自己的Dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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