如何在另一个基于MFC对话框的应用程序中动态加载MFC DLL [英] How to load MFC dll dynamically in another MFC Dialog Based Application

查看:173
本文介绍了如何在另一个基于MFC对话框的应用程序中动态加载MFC DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个MFC dll应用程序然后我想在另一个基于MFC Dialog的应用程序中使用该函数,所以我可以静态加载dll但是当我动态加载dll时我不能,所以请帮我如何加载和必要的步骤以及我必须加载的文件。请帮忙。给我能理解的任何小例子。

解决方案

参见 http://msdn.microsoft.com/en-US/library/zzk20sxw(v = VS.80).aspx [ ^ ],用于动态加载的DLL。

I create one MFC dll application and then I want to use the function in another MFC Dialog based application so I can load dll statically but when I load dll as dynamically I can not,So please help me how I load and necessary steps and in which file I have to load. Please help.Give any small example that I can understand..

解决方案

See http://msdn.microsoft.com/en-US/library/zzk20sxw(v=VS.80).aspx[^], for dynamic loading of DLLs.


这篇关于如何在另一个基于MFC对话框的应用程序中动态加载MFC DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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