Re: Resource weirdness



For example, point Resource Hacker (http://www.angusj.com/resourcehacker/)
at \Windows\system32\notepad.exe

Go to the 1st ICON, and go to the Action menu, and click "Save resource as a
binary file". The result is 1640 bytes, and is an invalid icon file because
it's missing the first 22 bytes for some reason, but that's the size you get
when you use the resource APIs so that is correct, even though the file is
missing the first 22 bytes.
Then click Action menu and "Save [icon : 1]". The result is 1262 bytes, and
that IS a valid icon ...


.



Relevant Pages

  • Re: Proper use of #getImageBlock in runtime [LONG!]
    ... When Dolphin reads an icon or bitmap, ... It can load it from a "resource" embedded in an executable file ... where the FileLocator is an instance of one of the subclasses of FileLocator ... We can define a PackageRelativeFileLocator which includes the name of a package ...
    (comp.lang.smalltalk.dolphin)
  • HLA v2.x and / or LASM suggestion: Win32 Resources
    ... With Microsoft's RC compiler, I've just noticed that it's less capable ... binary resource converted into readable, ... possible to create an icon or bitmap on-the-fly in the actual program ... make a separate tool and then all of them can share ...
    (alt.lang.asm)
  • Re: Single use of ICON in all forms
    ... > "Icon", but the Icon class does not have a FromStreammethod. ... > "Matt Berther" wrote in message ... >> Embedding the file as a resource is no big deal... ... Embedding it as a resource would still leave me with two ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Application icon
    ... Regards ... > this, you can create a resource compiler script file for the icon, and ... > create a resource file by using the Rc.exe utility. ... use the following code to create a resource compiler script ...
    (microsoft.public.dotnet.vjsharp)
  • Re: Animating Tray Icon using Shell_NotifyIcon
    ... > The resource file bears the same name as the .dll, ... The Delphi IDE allows you configure an icon for your project and also ... More importantly, Delphi ... sorted ahead of MAINICON. ...
    (alt.comp.lang.borland-delphi)