登录
首页 » Windows开发 » 实现方法: 用MFC的程序向导生成一个常规DLL,在常规DLL内有一派生自CWinApp的实例,再用MFC的程序向导生成一个MFC EXE应用程序,把M...

实现方法: 用MFC的程序向导生成一个常规DLL,在常规DLL内有一派生自CWinApp的实例,再用MFC的程序向导生成一个MFC EXE应用程序,把M...

于 2022-01-22 发布 文件大小:68.25 kB
0 188
下载积分: 2 下载次数: 1

代码说明:

实现方法: 用MFC的程序向导生成一个常规DLL,在常规DLL内有一派生自CWinApp的实例,再用MFC的程序向导生成一个MFC EXE应用程序,把MFC EXE应用程序中 CAppView,CMainFrame,CAppDocument的文挡和RES目录下的资源拷贝到常规DLL项目中,添加到项目中,编译生成一DLL,在另外一个WIN32应用程序中,启动一线程,在线程函数中显式装载该DLL,取的该DLL内的当前线程, CWinThread *pThread=GetCurrentThread() pThread->Run() 就可装载启动常规DLL内应用程序框架.-Realize Methods: The MFC AppWizard to generate a conventional DLL, in the conventional DLL there is one derived from CWinApp instance, reuse of the MFC AppWizard to generate a MFCEXE applications, the MFC EXE application CAppView, CMainFrame, CAppDocument block of text RES directory and copy resources to the conventional DLL project, add to the project, the compiler generates a DLL, in another WIN32 application, start a thread in the thread function explicitly loading the DLL, check inside the DLL the current thread, CWinThread* pThread = GetCurrentThread () pThread-

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • C#图片上传
    应用背景C#图片上传,上传到程序的同目录下,测试文件的预览和上传的功能。简单的测试功能,上传测试测试。应该算是复制的功能。关键技术不知道有问题没,如果有问题,请留言,相互学习,共同进步,图片上传,上传到程序的同目录下。共同学习,共同进步C#的功能。简单测试。应该算是可以的功能。如果有问题,请留言哦
    2022-07-05 06:31:24下载
    积分:1
  • a novel software startup screen with the picture Credits Program
    一种新颖的软件启动画面与鸣谢画面的编程实现-a novel software startup screen with the picture Credits Program
    2023-08-20 07:20:04下载
    积分:1
  • 高级编程语言代码,第五人来自清华出版社
    《Oracle高级编程》书上的code ,来自清华第五出版社- Oracle Advanced Programming book on the code, the fifth from Tsinghua Press
    2023-03-10 12:55:04下载
    积分:1
  • 不说英语
    这是一个TS流解析成PES流的程序,可以作为参考价值-no say english
    2022-03-13 05:35:03下载
    积分:1
  • landing and user passwords are admin. It is a very good use of materials managem...
    登陆用户及密码都是admin。是一个很好用的教材管理系统。用的delphi语言-landing and user passwords are admin. It is a very good use of materials management system. Delphi language used
    2022-05-12 11:41:30下载
    积分:1
  • This is plugins for library bass on OS Windows. This is plugins is decoders.
    This is plugins for library bass on OS Windows. This is plugins is decoders.
    2022-09-16 19:45:03下载
    积分:1
  • 这是很小的撒读软件简单的点击里面的几个文件就可以安装,及主要多点击几个,然后就可以杀毒,就是有一个缺点cpu用很大...
    这是很小的撒读软件简单的点击里面的几个文件就可以安装,及主要多点击几个,然后就可以杀毒,就是有一个缺点cpu用很大-Did dirty exhaust cavity Brassica campestris 撒 Canals, such as millet 软 glass cavity cornelian cherry rustic Grand fermentation chamber glass scratch stamp text, you can leave open装, people loved lynx Corrections cornelian cherry rustic torsion , stamp, you can open up 然 flustered Mr , Recreational Did有一个缺 cornelian cherry cpu exhaust using submerged
    2022-02-14 06:37:10下载
    积分:1
  • 精通QT4编程
    精通QT4编程-代码(共四部分),此为第2部分-Proficient QT4 programming- the code (a total of four parts), This is Part 2
    2022-02-28 12:42:06下载
    积分:1
  • 使用comm控件进行串口编程
    使用comm控件进行串口编程-controls for the use of comm Serial Programming
    2022-02-14 12:25:44下载
    积分:1
  • vc6.0相关安装配置,void CJisuanqiDlg::OnBUTTONdecimal() { // TODO: Add your contro...
    vc6.0相关安装配置,void CJisuanqiDlg::OnBUTTONdecimal() { // TODO: Add your control notification handler code heredecimal=true } void CJisuanqiDlg::OnBUTTONclear() { // TODO: Add your control notification handler code here UpdateData(true) value=0 input1=0 input2=0 _gcvt(value,10,buffer) -vc6.0 related installation configuration, void CJisuanqiDlg:: OnBUTTONdecimal () (//TODO: Add your control notification handler code heredecimal = true ) void CJisuanqiDlg:: OnBUTTONclear () (//TODO: Add your control notification handler code here UpdateData (true) value = 0 input1 = 0 input2 = 0 _gcvt (value, 10, buffer)
    2022-08-05 23:29:21下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载