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

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

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

  • vb多线程的实现,输入,输入,计算多个步骤
    vb多线程的实现,输入,输入,计算多个步骤-vb multi-threaded implementation, input, input, calculation of a number of steps
    2023-04-07 16:05:04下载
    积分:1
  • c++调试手册!主要是一些调试方法和技巧的介绍!
    c++调试手册!主要是一些调试方法和技巧的介绍!-c++ debugging manual! Mainly debugging methods and techniques for the introduction!
    2022-01-31 16:01:47下载
    积分:1
  • 图像处理
    可以对图片进行特效处理(图片特效)、调整图片的亮度、大小及对比度(图片调节)、在图片上添加文字(图片文字)、以幻灯片的形式浏览图片(幻灯片放映)
    2022-06-14 18:29:20下载
    积分:1
  • the source code of the famous game "light cycle", implemented in VC++,which is s...
    著名游戏“光车”的源代码,使用VC++实现,适合游戏编程的初学者学习-the source code of the famous game "light cycle", implemented in VC++,which is suitable for beginner who tend to learn game programming
    2022-10-18 10:10:03下载
    积分:1
  • 特洛克分解法程序,文本输入输出,实现数值计算中的特洛克分解法...
    特洛克分解法程序,文本输入输出,实现数值计算中的特洛克分解法-Turlock decomposition process, text input and output, to achieve numerical decomposition method in turlock
    2022-12-15 21:35:03下载
    积分:1
  • MFC技术内幕(配书源码CHAP08.rar
    MFC技术内幕(配书源码CHAP08.rar-MFC Insider (book distribution source CHAP08.rar
    2023-05-25 10:00:02下载
    积分:1
  • pivotal game c c code for school help
    贪食蛇游戏的c代码 对学c有帮助-pivotal game c c code for school help
    2022-08-13 01:46:39下载
    积分:1
  • Smynes1.20
    SMYNES使用方法: 1,下载安装SMYNES。 2,下载游戏的ROM(*.nes)文件3,在SMYNES主界面上点上面第三个大按钮“设定目录” 4,在弹出的框的左半部分找到你放*.nes文件的目录,然后选择它,然后点“加入”就可把其设置为默认的游戏读取目录。如果以后换了目录,只要在右上半部分点原来的目录,再点“移除”就可以将其删除。 5,设置好后,点主界面上面第五个按钮“模拟器设定”然后修改以下选项: 预览设定 选择固定画面省略,数值为0。 NES模拟器画面设定 (全屏幕) 解析度640*480,颜色模式16BIT, 画面省略模式选自动省略,数值10。 (视窗) 视窗大小512*480,实际大小512*480, 画面省略模式同上。 电视扫描线全选无把下面的256*240打上勾。 NES模拟器声音设定 开启声音 频率44100 缓冲区的滑块放到从左到右第四个点上 声音引擎选择1 效果选锐利 其他不用动。
    2022-02-12 01:35:43下载
    积分:1
  • digital image processing, a source book, the scientific publishing house.
    delphi数字图像处理一书源代码,科学出版社出版.-digital image processing, a source book, the scientific publishing house.
    2022-08-06 18:33:09下载
    积分:1
  • 2410的WINCE蜂鸣驱动程序代码,提供给大家参考学习使用
    2410的WINCE蜂鸣驱动程序代码,提供给大家参考学习使用 -2410 WINCE beep driver code provided for your reference learning to use
    2022-08-24 00:26:00下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载