Recent

Author Topic: OSX: Resource viewer  (Read 2939 times)

tk

  • Sr. Member
  • ****
  • Posts: 361
OSX: Resource viewer
« on: June 26, 2017, 09:51:20 am »
Is there some viewer for the fpc.resources section linked into the mach-o executable?
Something like PE-Explorer on Windows?

I would like to inspect this section to find what resources are linked to my app.

Thanks

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: OSX: Resource viewer
« Reply #1 on: June 26, 2017, 03:34:08 pm »
Is there some viewer for the fpc.resources section linked into the mach-o executable?
Something like PE-Explorer on Windows?

I would like to inspect this section to find what resources are linked to my app.

Maybe something like the otool utility.

tk

  • Sr. Member
  • ****
  • Posts: 361
Re: OSX: Resource viewer
« Reply #2 on: June 26, 2017, 04:39:35 pm »
Maybe something like the otool utility.

Otool does not know anything about FPC resources, MachOView as well but it can at least show the binary content of the fpc.resources section.

I've already solved the reason why I needed to see what resources were linked, but some tool to view the linked resources would be useful (preferably a GUI tool to show icons, bitmaps, version info etc.). The same for Linux, here I am not aware of such tool as well.

SunyD

  • Guest
Re: OSX: Resource viewer
« Reply #3 on: June 27, 2017, 10:22:40 pm »
Try the lazarus example, you will find it in folder:
lazarus\examples\lazresexplorer

It shows all resources but most of them as binary. This example can be extended.

 

TinyPortal © 2005-2018