【文件属性】:
文件名称:mfc 将dll中的窗口嵌入到主窗口中
文件大小:74KB
文件格式:RAR
更新时间:2018-05-26 06:13:26
dll窗口嵌入
用mfc写一个静态的dll,在DLL中插入一个dlg,new一个类,在类中声明2个函数……
用主程序加载dll,并且通过dll导出函数将dll中的窗口嵌入到主程序中
【文件预览】:
dlldlg
----ReadMe.txt(2KB)
----res()
--------dlldlg.rc2(362B)
----Dlg1.h(464B)
----stdafx.h(1KB)
----dlldlg.h(397B)
----dlldlg.vcproj(5KB)
----dlldlg.def(119B)
----stdafx.cpp(137B)
----dlldlg.vcproj.BLUE.Administrator.user(1KB)
----resource.h(498B)
----dlldlg.rc(4KB)
----targetver.h(1KB)
----dlldlg.cpp(1KB)
----Dlg1.cpp(1KB)
testdlg_in_dlldlg.sln
testdlg_in_dlldlg
----ReadMe.txt(3KB)
----testdlg_in_dlldlg.rc(5KB)
----res()
--------testdlg_in_dlldlg.rc2(373B)
--------testdlg_in_dlldlg.ico(66KB)
----stdafx.h(2KB)
----testdlg_in_dlldlg.vcproj(5KB)
----stdafx.cpp(150B)
----resource.h(735B)
----testdlg_in_dlldlgDlg.h(753B)
----targetver.h(1KB)
----testdlg_in_dlldlg.vcproj.BLUE.Administrator.user(1KB)
----testdlg_in_dlldlg.h(511B)
----testdlg_in_dlldlgDlg.cpp(4KB)
----testdlg_in_dlldlg.cpp(2KB)
Clean.bat
网友评论
- 可以运行,加载了DLL中的窗口嵌入到主窗口,有借鉴意义。
- 2020.7.7 ,代码没有错误,但是运行无效果,无法完成mfc 将dll中的窗口嵌入到主窗口中。
- 非常好的例子
- 很好,值得学习!!!
- 调用有点卡,还是习惯性好评吧.
- 非常好的例子
- 速度下载收藏,学习了
- 还不错....很有用!
- 不错,很好用的哦
- 很好很有用!