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.



About the Author

Georges Dumond

Courbevoie (France)

Downloads

Comments

  • A professional tool

    Posted by carlos.gomes on 12/05/2005 11:04am

    More 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.

    Reply
  • Excellent Article!

    Posted by Ajay Vijay on 03/30/2005 05:15am

    That's amazing. Beautiful and most importantly - Useful. Thanks for sharing with us. Keep it up!

    Reply
  • windows XP

    Posted by WaelA on 03/23/2005 08:00am

    i have some resource application which write string table it works fine on win2k but it never work on winxp can you help me

    • Bug with XP

      Posted by Cassonnet on 03/23/2005 12:27pm

      Please, read comments : "WARNING - Critical bug (ehaddam)"

      Reply
    Reply
  • WARNING - Critical Bug

    Posted by ehaddan on 03/22/2005 07:12pm

    When 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();

    • thanks for that XP-hint

      Posted by fredwobus on 03/24/2005 08:59am

      I 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!

      Reply
    • Update with fix

      Posted by kirants on 03/23/2005 08:25pm

      Do you plan to update the article with the fix? That will be great ;)

      Reply
    • Bug with XP

      Posted by Cassonnet on 03/23/2005 12:09pm

      In 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 !

      Reply
    • I got caught too..

      Posted by c4rtm4n on 03/23/2005 04:17am

      I 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.

      Reply
    Reply
  • most impressive

    Posted by ahoodin on 03/22/2005 09:58am

    a great little program to be sure

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Today's agile organizations pose operations teams with a tremendous challenge: to deploy new releases to production immediately after development and testing is completed. To ensure that applications are deployed successfully, an automatic and transparent process is required. We refer to this process as Zero Touch Deployment™. This white paper reviews two approaches to Zero Touch Deployment--a script-based solution and a release automation platform. The article discusses how each can solve the key …

  • Learn How A Global Entertainment Company Saw a 448% ROI Every business today uses software to manage systems, deliver products, and empower employees to do their jobs. But software inevitably breaks, and when it does, businesses lose money -- in the form of dissatisfied customers, missed SLAs or lost productivity. PagerDuty, an operations performance platform, solves this problem by helping operations engineers and developers more effectively manage and resolve incidents across a company's global operations. …

Most Popular Programming Stories

More for Developers

RSS Feeds