Is there a tutorial or example for editing exe resources (think resource hacker) lazarus / 34-Windows ---------------------------------------------------------------------- Rave · 2015-12-28 08:50 I want to make an app to change exe icons without a hassle (just open exe, select .ico file from disk and you're OK), but to do that I first must know how to edit exe's resources. Any tips, tutorial, or better, source for Resource Hacker-like app so I can see how it's done? ---------------------------------------------------------------------- vhanla · 2016-01-08 02:41 Use WINAPI BeginUpdateResource, UpdateResource, EndUpdateResource, some times you have to extract MUI file if available (DLL files mostly) and use EnumResourceLanguages to find the correct executable/dll locale language, DLL files which includes MUI are protected to be updated so you have to remove it, do the updates and finally restore the MUI. The main executable icon is MAINICON inside Icon Group Notice: you might be limited to handle executable icons beloging to your tool's architecture (32bits/64bits). ---------------------------------------------------------------------- x2nie · 2016-01-08 03:07 I've playing with them (some resource editors) years ago. the simplest source code was shipped with Delphi6/Delphi7 distribution. For tutorial (video) : http://www.angusj.com/resourcehacker/rh_manifest.avi program (zip & install) : http://www.angusj.com/resourcehacker/ and it further developed here: http://melander.dk/reseditor/ Ander Melander's program is most complete to edit *.EXE, *.DCR, *.RES etc. Unfortunatelly, both hasno source code. Angus Johnson has had, but I forgot where the link. you may found in his website or ask him via email. For source code of changing icon of EXE, find the InnoSetup source code by the internet.