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

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

于 2022-01-22 发布 文件大小:68.25 kB
0 204
下载积分: 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 个回复

  • 局域网文件共享及检索系统
    本系统为用户提供了一个解决局域网内文件共享系统的平台,用户可以方便的将自己的文件上传保存到该系统中并可以将这些资源共享给其他用户。1.  客户端主要功能需求(1)用户可以了解本系统的基本功能组织情况;(2)用户可以查看、检索、下载共享目录中的文件;(3)用户可以导出服务端共享的文件的列表;(4)用户可以导入本地导出的文件列表,方便用户可以不用检索直接查看文件(即查看缓存文件列表)(5)用户可以按文件名进行搜索。2.  服务器端主要功能需求(1)可以共享文件及文件目录;(2)可以取消共享的文件及目录;(3)可以查看所有共享的文件及目录。
    2022-03-09 11:48:55下载
    积分:1
  • 網路上找的 generic hid 連線傳輸
    Windows programming You can use Windows" built-in HID (human interface device) drivers to communicate with devices that conform to the USB"s HID class specification. There"s no need for a custom driver; the device uses the drivers included in Windows. Use any programming language that supports calling API functions. The device doesn"t have to have a "human interface." Any device that can function within the limits of the HID specification (control and interrupt transfers only) may be able to be designed as a HID. 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-03-19 19:51:55下载
    积分:1
  • 查看内存使用情况
    查看内存使用情况-View memory usage
    2022-03-29 12:19:36下载
    积分:1
  • 实现二叉树的后序的递归和非递归算法。 包括构造函数和析构函数。...
    实现二叉树的后序的递归和非递归算法。 包括构造函数和析构函数。-After the realization of the sequence of binary tree recursive and non-recursive algorithm. Including the constructor and destructor.
    2022-08-24 02:47:46下载
    积分:1
  • 获取cpu信息。
    获取cpu信息。-cpu access to information.
    2022-04-20 09:16:01下载
    积分:1
  • AnyQ是业务协同软件是由点石公司起诉,并…
      AnyQ是点石公司面向企业用户推出的一款商务协作软件,目的是商务协作、统一通讯,简称AnyQ。    Giga Information Group分析家Rob Enderle说:"对企业来说,即时通讯正演变成一种重要的技术,有助于集思广益并改善生产力。这将赋予企业绝佳的机会,在应用该技术的同时,将大大强化公司的竞争力"。    点石公司经过长期的市场调研、分析及技术积累,适时推出AnyQ这一产品。-AnyQ is a business cooperative software which is sued by Dianshi company, and the software is face to enterprise user, its goal is business cooperative, uniform communication, named AnyQ.Rob Enderle, the analysis reporter of Giga Information Group said that as far as enterprise is concerned instantly communication are evolved to an important technology, it can benefit to collect many good idea together and improve the productive power. This will vest the bestest opportunity to enterprise,when enterprises applying the technology it will strengthen the compepitive power of company meantime.Through a long time market investigation, analysis and technology acculation, Dianshi company issues the AnyQ production.
    2022-05-18 08:02:18下载
    积分:1
  • USACO 10 号源代码
    作为乳品行业的利润很低,所以较低的原材料(牛奶)的价格变得非常重要。玛丽帮助找到最佳的牛奶采购项目。结婚在手中有一些奶农购买牛奶,每个奶农乳品加工企业提供的价格是不同的。此外,由于每个牛奶只有一个固定数量的牛奶,每天奶农挤出量每天可以提供一定的。结婚一天 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-03-03 14:10:06下载
    积分:1
  • 研究了基于网络的个性化学习系统如何根据学习者的个性特征主动推送个性化学习信息服务,并就如何提高 基于网络的个性化学习系统的运行效率,提出了一种有效提取学习者...
    研究了基于网络的个性化学习系统如何根据学习者的个性特征主动推送个性化学习信息服务,并就如何提高 基于网络的个性化学习系统的运行效率,提出了一种有效提取学习者个性特征的算法。-Research on Web-based personalized learning system based on personality characteristics of learners take the initiative to push personalized learning information services, and on how to improve web-based personalized learning system operating efficiency, we proposed an efficient extraction of learner personality characteristics algorithms.
    2022-07-15 05:04:07下载
    积分:1
  • 这些文件包含matlab文件
    these files contain matlab files and documents
    2022-02-07 02:24:44下载
    积分:1
  • 用于简单管道的水击计算,采用的特征线法。可自行修改管道参数。...
    用于简单管道的水击计算,采用的特征线法。可自行修改管道参数。-For a simple pipeline water hammer calculation, using the characteristic line method. Pipeline can modify the parameters.
    2023-01-20 16:35:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载