文件名称:在动态连接库内封装应用程序框架cool

  • 所属分类:
  • Windows编程
  • 资源属性:
  • [Windows] [Visual C] [源码]
  • 上传时间:
  • 2008-10-13
  • 文件大小:
  • 68.25kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 杨*
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

实现方法: 用MFC的程序向导生成一个常规DLL,在常规DLL内有一派生自CWinApp的实例,再用MFC的程序向导生成一个MFC EXE应用程序,把MFC EXE应用程序中 CAppView,CMainfr a me,CAppDocument的文挡和RES目录下的资源拷贝到常规DLL项目中,添加到项目中,编译生成一DLL,在另外一个WIN32应用程序中,启动一线程,在线程函数中显式装载该DLL,取的该DLL内的当前线程, CWinThread *pThread=GetCurrentThread() pThread->Run() 就可装载启动常规DLL内应用程序框架.-method: a normal DLL file has been created with the program wizard and there is an instance generated from CWinApp in the DLL file.Create another MFC EXE appliaction and copy CAppView,CMainFram,CAppDocument and the resources in RES directory to the normal DLL and add to the projec and compile and generate a DLL. In a Win32 application, start a thread which loads the DLL with codes, get the running thread, ie.CWinThread *pThread=GetCurrentThread(), then,pThread->Run() executes the loading and start the execution of the application fr a mework in the normal DLL file.
(系统自动生成,下载前可以参看下载内容)

下载文件列表

压缩包 : 244261在动态连接库内封装应用程序框架cool.zip 列表
SingDocRglDll/
SingDocRglDll/AFXTRACE.CPP
SingDocRglDll/CircleAppDoc.cpp
SingDocRglDll/CircleAppDoc.h
SingDocRglDll/CircleAppView.cpp
SingDocRglDll/CircleAppView.h
SingDocRglDll/CJBUTTON.CPP
SingDocRglDll/Cjbutton.h
SingDocRglDll/CJCONTROLBAR.CPP
SingDocRglDll/Cjcontrolbar.h
SingDocRglDll/CJTABCTRLBAR.CPP
SingDocRglDll/Cjtabctrlbar.h
SingDocRglDll/DiameterDlg.cpp
SingDocRglDll/DiameterDlg.h
SingDocRglDll/dll.clw
SingDocRglDll/dll.cpp
SingDocRglDll/dll.def
SingDocRglDll/dll.dsp
SingDocRglDll/dll.dsw
SingDocRglDll/dll.h
SingDocRglDll/dll.rc
SingDocRglDll/dll.stc
SingDocRglDll/Dlltest/
SingDocRglDll/Dlltest/Dlltest.cpp
SingDocRglDll/Dlltest/Dlltest.dsp
SingDocRglDll/Dlltest/Dlltest.plg
SingDocRglDll/Dlltest/Dlltest.stc
SingDocRglDll/Dlltest/ReadMe.txt
SingDocRglDll/Dlltest/StdAfx.cpp
SingDocRglDll/Dlltest/StdAfx.h
SingDocRglDll/Dlltest_link/
SingDocRglDll/Dlltest_link/Dlltest_link.cpp
SingDocRglDll/Dlltest_link/Dlltest_link.dsp
SingDocRglDll/Dlltest_link/Dlltest_link.plg
SingDocRglDll/Dlltest_link/Dlltest_link.stc
SingDocRglDll/Dlltest_link/ReadMe.txt
SingDocRglDll/Dlltest_link/StdAfx.cpp
SingDocRglDll/Dlltest_link/StdAfx.h
SingDocRglDll/MainFrm.cpp
SingDocRglDll/MainFrm.h
SingDocRglDll/myMainFrm.cpp
SingDocRglDll/myMainFrm.h
SingDocRglDll/MyResource.h
SingDocRglDll/MyThread.cpp
SingDocRglDll/MyThread.h
SingDocRglDll/ReadMe.txt
SingDocRglDll/res/
SingDocRglDll/resource.h
SingDocRglDll/res/CircleApp.ico
SingDocRglDll/res/CircleApp.rc2
SingDocRglDll/res/CircleAppDoc.ico
SingDocRglDll/res/dll.rc2
SingDocRglDll/res/imagelist.bmp
SingDocRglDll/res/Thumbs.db
SingDocRglDll/res/Toolbar.bmp
SingDocRglDll/StdAfx.cpp
SingDocRglDll/StdAfx.h

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org