Is there a way to modify resources of other application with lazarus on linux? lazarus / 32-Linux ---------------------------------------------------------------------- njlgg · 2017-12-19 02:50 lazarus provides "{$R *.res}" to compile resources into our application ,and we use TresourceStream.Create(HInstance,your_resource _flag,your_resource_type) to retrieve resources. On windows,we can use win32 API updateResource to modify resources of other application.On linux,the win32 API UpdateResource surely wouldn't work.So is there a way to modify resources of other application with lazarus on linux? ---------------------------------------------------------------------- sash · 2017-12-20 21:30 Formally no, because there's no such thing as "resource" in Linux, although ELF format allows arbitrary data sections, but those used by FPC is very FPC-specific. ---------------------------------------------------------------------- Ñuño_Martínez · 2017-12-21 08:35 To complete what sash wrote: It is possible to change resources in Windows because Windows' resources are added to the EXE file as "extra data".  They're not part of the actual program. On Linux though resources are "translated" to constant data, as if you added a big CONST section to your sources, so they're part of the program itself.  If you need to change them you may need to recompile the program as pointers and sizes may change, and will specially if the program was compiled using any optimization.