Next: dlltool, Previous: windres, Up: Top
windmc may be used to generator Windows message resources.
Warning: windmc is not always built as part of the binary utilities, since it is only useful for Windows targets.
windmc [options] input-file
windmc reads message definitions from an input file (.mc) and translate them into a set of output files. The output files may be of four kinds:
h
A C header file containing the message definitions.
rc
A resource file compilable by the windres tool.
bin
One or more binary files containing the resource data for a specific
message language.
dbg
A C include file that maps message id's to their symbolic name.
The exact description of these different formats is available in documentation from Microsoft.
When windmc converts from the mc
format to the bin
format, rc
, h
, and optional dbg
it is acting like the
Windows Message Compiler.
bin
files should be in ANSI
format.
bin
filenames should have to be prefixed by the
basename of the source file.
bin
files by zero. By default they are
terminated by CR/LF.
windmc
to generate an OLE2 header
file, using HRESULT definitions. Status codes are used if the flag is not
specified.
rc
script and the generated
bin
files that the resource compiler script includes. The default
is the current directory.
bin
file should be in UTF16
format. This is the default behaviour.
dbg
C include file that maps message id's to the
symbolic name. No such file is generated without specifying the switch.
Corrections, suggestions, and new documentation should be posted to the Forum.
The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.