WM程序出现ERROR: Cannot find dialog template with IDD 0x131的解决方法
来源:互联网 发布:itools不能下载软件 编辑:程序博客网 时间:2024/05/18 11:18
这是由于EXE与DLL中资源没切换引起的。需要使用以下方式切换资源
在开始加上始下代码
HINSTANCE save_hInstance = AfxGetResourceHandle();
AfxSetResourceHandle(m_hResDLL);
中间要LoadBitmap等获取资源时,必须使用
AfxGetResourceHandle()来获取句柄
使用完毕要恢复:
AfxSetResourceHandle(save_hInstance);
详见
http://blog.csdn.net/segen_jaa/article/details/7860404
- WM程序出现ERROR: Cannot find dialog template with IDD 0x131的解决方法
- ERROR: Cannot find dialog template with IDD 0x7803.
- 想在对话框中使用CView的打印/预览功能“ERROR: Cannot find dialog template with IDD 0x7803.”
- ,CFormView::Create()里,_AfxCheckDialogTemplate输出Cannot find dialog template with IDD 0x00AB
- cannot find the word template:WordToRqm.dot的解决方法
- cannot find the word template:WordToRqm.dot的解决方法
- cannot find the word template:WordToRqm.dot的解决方法
- Word2010--Cannot find the Word template:WordToRqm.dot的解决方法
- cannot find the word template:WordToRqm.dot的解决方法
- [乐意黎]Nodejs采集程序抛Error: Cannot find module 'superagent' 及 Cannot find module 'superagent' 等的解决方法
- Qt5的error: cannot find -lGL错误解决方法
- PHP动态编译出现Cannot find autoconf的解决方法
- cannot find -lwfdb的解决方法
- Windows7下装VS2008后程序调用windows.h出现cannot find "widows.h" file解决方法
- smarty出现“Uncaught exception ‘SmartyCompilerException’ with message ‘Syntax Error in template”错误时的解决办
- configure: error: Cannot find php-config. Please use --with-php-config=PATH 错误的解决方案
- configure: error: Cannot find php-config. Please use --with-php-config=PATH 错误的解决方案
- configure: error: Cannot find php-config. Please use --with-php-config=PATH 错误的解决方案
- 金山西山居2013程序挑战赛初赛 第三题
- Ubuntu 11.0下配置Hadoop
- 程序员谨防加班猝死之十大建议
- 借书方案知多少
- android 怎么实现两组互斥的RadioGroup
- WM程序出现ERROR: Cannot find dialog template with IDD 0x131的解决方法
- 批处理如何清除文本文档里面的重复行
- poj-openjudge 1041 For Short 解题报告
- FLEX 界面跳转
- 水仙花
- SecureCRT连接到Linux后使用sqlplus的退格删除
- 分解质因数
- poj-openjudge 1043:Bomb! 解题报告
- 嵌入式系统开发所需要的基础