.: Home :: Contact Us :.  
  



Hans Dietrich Software

free and licensed software

   

Resource Inspector image image image

There are several resource editing utilities that are freely available, so why another one? Because I have found, in my work as a consultant, that many companies refuse to allow use of such utilities, out of fear that the exe or dll might be accidentally changed, and the change would not be noticed. Resource Inspector is a read-only utility, meaning that the PE file is opened only for read, and cannot be modified in any way.

There are many reasons to inspect the resources of a PE file, especially in products that are offered in multiple end-user configurations, or that may include support for several languages. With Resource Inspector, it is easy to check for a particular resource and language id:

screenshot

Here is the .rc file which created the GIF, PNG and RT_BITMAP types:

/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
BMPIMAGE         BITMAP  DISCARDABLE     "background.bmp"

/////////////////////////////////////////////////////////////////////////////
//
// GIF
//
GIFIMAGE         GIF     DISCARDABLE     "logo.gif"

/////////////////////////////////////////////////////////////////////////////
//
// PNG
//
PNGIMAGE         PNG     DISCARDABLE     "logo.png"

How Does It Work?

Resource Inspector works by calling EnumResourceTypes(), EnumResourceNames(), and EnumResourceLanguages() in a loop to enumerate all the resources in a PE file. This code is contained in XPEResource.cpp.

Revision History

Version 1.0

  • Initial release.

Buy latest version

Buy Resource Inspector license – $20.00 (includes full source code)