RC2247 : Cannot open Rc file : Resource explorer cannot load resource ; Load failed

本秂侑毒 提交于 2019-12-01 05:12:16

I had the error as well. The approach mentioned in the http://social.msdn.microsoft.com/Forums/{...} Link (in a comment from Michael Walz) should work. Here's what you have to do:

Find the part where the windows headers are included. This might be the "windows.h" include, or if you use MFC, it is the <afxres.h> include. Add the "prsht.h" header after your "windows.h" include (this did the trick for me). Also surround it with the two lines containing APSTUDIO_HIDDEN_SYMBOLS, to hide the lines from the resource editor. It should look like this:

#define APSTUDIO_HIDDEN_SYMBOLS
#include "windows.h"
#include "prsht.h"
#undef APSTUDIO_HIDDEN_SYMBOLS
juxuan

1.download a tool named ResEdit,if you can't find this tool,can email to me. juxuan_xatu@126.com

2.open the *.rc file.

3.click everyone diadlag, save it.

4.then use vc2008 to open it again.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!