bindres

Bind or extract resources from a file

Syntax:

bindres [-x|-l][-q|-v] resfile|loadfile [widgetfile...]

Runs on:

QNX Neutrino, Linux, Microsoft Windows

Options:

-l
List the widgetfiles in the resfile. If no widget files are specified, all the files are listed.
-q
Quiet mode, produce no output.
-v
Verbose mode.
-x
Extract the widgetfiles in the resfile. If no widget files are specified, all the widget files are extracted.
resfile
A widget resource file created by bindres.
loadfile
The name of an executable program or shared object to bind the resource information to.
widgetfile
The name of a widget file (for example, base.wgtw).

Description:

This utility binds the widgets in one or more widgetfiles into a single resource file resfile. It's usually run automatically as part of the PhAB build process. If you specify a loadfile (an executable or shared object in ELF format), bindres creates a temporary resource file, then binds it into the application.

It is possible to run an application with a separate widget resource file. If widget resources are not bound into an application executable, at runtime the system looks for widgets in a file with the same name as the application, but with a .res extension.

This utility can also list or extract the widgets in widget resource (.res) files generated by bindres.

See also:

ldrel

Generating, Compiling, and Running Code in the Photon Programmer's Guide