MFCDllLearn.rar MFC动态库例子

时间:2023-12-12 05:36:51
【文件属性】:
文件名称:MFCDllLearn.rar MFC动态库例子
文件大小:66KB
文件格式:RAR
更新时间:2023-12-12 05:36:51
vc dll mfc 学习调用MFC共享动态库,在调用MFC共享动态库时要进行模块的切换,否则无法少生结果,尽管编绎和运行都没有错。可以用显式调用和隐式调用, 学习共享MFC DLL 的规则 DLL 的模块切换,共有3种方式: 方式一:在 DLL 接口函数中使用使用 AFX_MANAGE_STATE(AfxGetStaticModuleState()) 方式二:在 DLL 接口函数中使用使用 AfxGetResourceHandle() AfxSetResourceHandle(***) 方式三:应用程序自身切换(即在应用程序中调用 AfxGetResourceHandle(), AfxSetRe
【文件预览】:
MDll2_t1
----MDll2_t1.rc(5KB)
----resource.h(725B)
----MDll2_t1.vcproj(5KB)
----stdafx.h(2KB)
----MDll2_t1.cpp(2KB)
----MDll2_t1Dlg.h(598B)
----MDll2_t1.h(453B)
----MDll2_t1.vcxproj(7KB)
----MDll2_t1.vcxproj.filters(2KB)
----stdafx.cpp(139B)
----ReadMe.txt(3KB)
----MDll2_t1Dlg.cpp(4KB)
----说明.txt(360B)
----res()
--------MDll2_t1.ico(21KB)
--------MDll2_t1.rc2(364B)
MDll2
----MDll2.vcxproj(7KB)
----DllDialog.h(356B)
----resource.h(451B)
----stdafx.h(2KB)
----MDll2.h(389B)
----MDll2.rc(4KB)
----MDll2.cpp(1KB)
----stdafx.cpp(136B)
----global.cpp(1KB)
----ReadMe.txt(2KB)
----MDll2.vcxproj.filters(2KB)
----MDll2.vcproj(5KB)
----MDll2.def(98B)
----说明.txt(346B)
----res()
--------MDll2.rc2(361B)
----DllDialog.cpp(478B)
MDll1
----DllDialog.h(431B)
----MDll1.vcxproj.filters(2KB)
----resource.h(543B)
----MDll1.h(389B)
----stdafx.h(2KB)
----MDll1.def(98B)
----Common.cpp(205B)
----stdafx.cpp(136B)
----global.cpp(143B)
----ReadMe.txt(2KB)
----MDll1.vcxproj(8KB)
----MDll1.cpp(1KB)
----MDll1.vcproj(6KB)
----global.h(0B)
----说明.txt(109B)
----res()
--------MDll1.rc2(361B)
----MDll1.rc(4KB)
----DllDialog.cpp(699B)
----Common.h(163B)
MDll1_t1
----MDll1_t1Dlg.h(614B)
----resource.h(680B)
----MDll1_t1.cpp(2KB)
----stdafx.h(2KB)
----MDll1_t1Dlg.cpp(4KB)
----MDll1_t1.h(453B)
----MDll1_t1.vcxproj(8KB)
----stdafx.cpp(139B)
----MDll1_t1.vcxproj.filters(2KB)
----ReadMe.txt(3KB)
----MDll1_t1.vcproj(5KB)
----MDll1_t1.rc(5KB)
----说明.txt(64B)
----res()
--------MDll1_t1.ico(21KB)
--------MDll1_t1.rc2(364B)
MFCDllLearn.sln

网友评论