Resources Explorer
ResExplorer is a tool that helps you find resources in EXE or DLL files. The first time you use it, it makes a list of files with resource counts. After that, it can show you a selected resource in a selected file (image and attributes). It is possible to save this to a file or the Clipboard. Some formats are available; these are compatible with Visual Studio (such as BMP, AVI, VAW, RES, ICO, or CUR). The program can easily be extended to support all other resource types.
A management of table of the symbols makes it possible to replace the numerical values indicating the resources by symbols such those defined in the files Resource.h
Special tooltips give attribute details.
This tool is an example of MFC usage (sources available): SDI with variable splitter windows (list view, tree view, and scroll view) to show files listing and tree, and a list for resource attributes.
Parts are directly usable in other applications such as for example:
- Management of the columns and sorting in CListCtrl in Report mode: Utilities.cpp and Utilities.h.
- Edition in place of subitems in CListCtrl in Report mode: ListCtrlEx.cpp and ListCtrlEx.h.
- Display and writing in file of the resoures Bitmap, icon and Curseur: BitmapRW.cpp and BitmapRW.h
It does not use special classes to read resources in the EXE or DLL files.
A help (in French) is implemented but is it necessary to use this tool.

Comments
A professional tool
Posted by carlos.gomes on 12/05/2005 11:04amMore than just share an idea, you really gave us a full application. It's useful, well coded, great ideas. I was thinking about create something like to help me in my projects. You save me a lot of time. Thanks a lot.
ReplyExcellent Article!
Posted by Ajay Vijay on 03/30/2005 05:15amThat's amazing. Beautiful and most importantly - Useful. Thanks for sharing with us. Keep it up!
Replywindows XP
Posted by WaelA on 03/23/2005 08:00ami have some resource application which write string table it works fine on win2k but it never work on winxp can you help me
-
ReplyBug with XP
Posted by Cassonnet on 03/23/2005 12:27pmPlease, read comments : "WARNING - Critical bug (ehaddam)"
ReplyWARNING - Critical Bug
Posted by ehaddan on 03/22/2005 07:12pmWhen I compiled this program under VS2003 and ran it, It ended up changing my ".exe" files to be opened with Resource Explorer, so NO PROGRAMS COULD BE EXECUTED. I had to fix it by going in to RegEdit in "Safe Mode with a DOS Prompt", running RegEdit and changing the HKEY_CLASSES_ROOT\.exe (Default) value back to "exefile". This can be easily fixed in the program by commenting out the following line: // EnableShellOpen();
-
-
-
-
Replythanks for that XP-hint
Posted by fredwobus on 03/24/2005 08:59amI managed to revive my system in safe mode. It made my heart stop when I couldn't even run regedit anymore! Please upload a fix immediately!
ReplyUpdate with fix
Posted by kirants on 03/23/2005 08:25pmDo you plan to update the article with the fix? That will be great ;)
ReplyBug with XP
Posted by Cassonnet on 03/23/2005 12:09pmIn source file ResExplorer.cpp, " EnableShellOpen(); RegisterShellFileTypes(TRUE); " can be suppressed ! This line are useless, ResExplorer dos'nt use this DDE feature but W2K tolerate and XP is more strict !
ReplyI got caught too..
Posted by c4rtm4n on 03/23/2005 04:17amI had the same problem, also using VS2003. I suspect that it only causes problems if you are logged in as an administrator, but I don't want to try it again.
Replymost impressive
Posted by ahoodin on 03/22/2005 09:58ama great little program to be sure
Reply