1.2

Rating:        Based on 4 ratings
Reviewed:  3 reviews
Downloads: 3077
Released: Aug 1, 2009
Updated: Sep 22, 2009 by dblock
Dev status: Stable Help Icon

Recommended Download

Application Vestris.ResourceLib.1.2.zip
application, 832K, uploaded Sep 15, 2009 - 3077 downloads

Release Notes

Build 1.2.28064.0.

Features
- Added support for RT_GROUP_CURSOR and RT_CURSOR cursor resources.
- Added support for RT_BITMAP, bitmap resources.
- Added support for RT_MENU, menu resources.
- Added support for RT_DIALOG, dialog resources.
- Added support for RT_STRING, string resources.
- Added support for RT_MANIFEST, Windows SxS XML resources.
- Added support for RT_ACCELERATOR, accelerator resources.
- Added partial support for RT_FONT, font resources.

Misc
- Added support for version resources with an omitted VS_FIXEDFILEINFO.
- Added Resource.TypeName that provides a string representation of the resource type.
- Added StringTable.CodePage and StringTable.LanguageID properties.
- Added GenericResource.Data read-only data bytes for unsupported resource types.
- Interface change: added ResourceId that represents well-known and custom resources alike and provides comparison and hashing that works for all resource Id types. Both Resource.Name and Resource.Type now return ResourceId and public interfaces that accepted an IntPtr now require a ResourceId.
- Interface change: GroupIconResource was renamed to IconDirectoryResource.
- Resource.Name is no longer read-only.
- IconImage was extended and renamed to DeviceIndependentBitmap. The latter supports separating mask and color, etc.
- Automatically appending a second null-terminator to StringResource when required. Internal storage is now always with two null terminators.
- Added VersionResource.ToString() that returns a standard resource file string representation of the version resource and all its tables.

Bugs
- Bug: error deleting an English version resource which was loaded as language-neutral.
- Bug: custom resources with literal string names return an invalid value in Resource.Name and Resource.Type.
- Bug: StringResource length in its header is incorrect after the value is updated.
- Bug: VersionResource.Write erroneously included padding in the structure size.

Reviews for this release

     
Super useful -- saved me a ton of time copying version and icon resources between Win32 executables. Thanks!
by benpm on Jan 24, 2011 at 9:26 PM
     
ResourceLib seems to be the only free .NET library for handling win32 (unmanaged) resources. It is well-documented and unit tested. Finally I found exactly what I needed for my Exepack.NET project! :)
by yallie on Jan 24, 2010 at 6:44 PM
     
Works as expected! :) Thank you.
by icnocop on Nov 24, 2009 at 12:16 AM