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

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

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

  • 使用视频捕捉程序
    利用Delphi开发的视频捕获程序-use video capture procedure
    2023-04-27 18:50:03下载
    积分:1
  • 关于windows CE设备驱动程序的一些例子,很有参考价值。
    关于windows CE设备驱动程序的一些例子,很有参考价值。-On the windows CE device driver of some examples, it is reference value.
    2022-01-26 16:42:20下载
    积分:1
  • 条形码识别
    本程序可以运行于Microsoft Windows 98/ME/NT/2000/XP下。 分辨率:任何分辨率即可 制作工具:Microsoft Visual C++ 6.0
    2022-03-01 09:49:59下载
    积分:1
  • 大量C++.NET和VB.NET源码
    大量C++.NET和VB.NET源码-A large number of C++. NET and VB.NET source code
    2022-01-26 06:32:10下载
    积分:1
  • 按15行×16列的表格形式显示ASCII码为10H
    按15行×16列的表格形式显示ASCII码为10H---100H的所有字符,即以行为主的顺序及ASCII码递增的次序一次显示对应的字符。每16个字符为一行,每行中的相邻两个字符之间用空白符(ASCII为0)隔开。-Of 15 rows × 16 columns in tabular form displays ASCII code is 10H--- 100H all the characters, that is, acts of God" s order and the order of ASCII codes displayed at one time increments corresponding characters. 16 characters per line, each line with the gap between two adjacent characters in character (ASCII 0) separated.
    2023-01-27 13:45:03下载
    积分:1
  • 中英文菜单 。把所有用到的字符串都放到文件中,一种语言一个文件,根据选择的语言到对应的文件中去加载字符串。...
    中英文菜单 。把所有用到的字符串都放到文件中,一种语言一个文件,根据选择的语言到对应的文件中去加载字符串。-In Chinese and English menu. All the strings used are into file, a language of a document, depending on the chosen language to the corresponding file to load a string.
    2022-04-21 11:53:43下载
    积分:1
  • RSA Cryptosysten
    在这个
    2023-03-06 04:30:03下载
    积分:1
  • This a program for creating backups of documents, forlders and configuration dat...
    This a program for creating backups of documents, forlders and configuration data on your PC.
    2022-04-07 12:51:48下载
    积分:1
  • 项目管理系统
    应用背景项目管理系统主要特点:1。员工管理2。项目进入3。项目阶段进入4。项目类别条目5、客户进入6。项目管理7。数据库备份6。数据库恢复9、日志设施提前记录搜索:1。客户记录2。员工记录3、分类记录4阶段记录5、项目管理记录其他特点:1。用户注册2。更改密码3、密码恢复4、用户注册记录登录信息:用户名称-管理密码- 12345关键技术该项目管理系统是用C写的#。NET和SQL Server 2008作为前端后端。要求:Visual Studio 2010(SQL Server 2008)
    2022-05-22 08:57:58下载
    积分:1
  • 运行.bat文件的VC程序 运行.bat文件的VC程序
    运行.bat文件的VC程序 运行.bat文件的VC程序-vc
    2022-10-21 03:30:03下载
    积分:1
  • 696518资源总数
  • 105540会员总数
  • 37今日下载