文件名称:UseMFCDll
介绍说明--下载内容均来自于网络,请自行研究使用
VC++从DLL动态链接库中加载位图资源,加载动态链接库,要先判断DLL是否加载成功,获取动态链接库中的GetShowDlg函数,判断函数指针是否为空,调用动态链接库中的方法,构造CShowDlg对象,访问CShowDlg类的ShowNoteDlg方法,释放pShowDlg对象,加载动态链接库中的位图,其中2009为动态链接库中的位图资源ID值,判断加载位图是否成功,在控件中显示位图,加载完成,卸载动态链接库。-VC++ is loaded from the DLL dynamic link library bitmap resources, load dynamic link library, first determine the DLL is loaded successfully, to get the dynamic link library GetShowDlg function to determine the function pointer is empty, called dynamic link library methods, constructors CShowDlg object, ShowNoteDlg way to access CShowDlg class, the release pShowDlg object to load dynamic link library bitmap, which in 2009 is a dynamic link library bitmap resource ID value that determines whether the bitmap is loaded successfully, the bitmap is displayed in the control , loaded, unloaded dynamic link library.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
UseMFCDll\ReadMe.txt
.........\res\UseMFCDll.ico
.........\...\UseMFCDll.rc2
.........\resource.h
.........\ResourceDll.dll
.........\StdAfx.cpp
.........\StdAfx.h
.........\UseMFCDll.aps
.........\UseMFCDll.clw
.........\UseMFCDll.cpp
.........\UseMFCDll.dsp
.........\UseMFCDll.dsw
.........\UseMFCDll.h
.........\UseMFCDll.opt
.........\UseMFCDll.rc
.........\UseMFCDllDlg.cpp
.........\UseMFCDllDlg.h
.........\res
UseMFCDll