The MESSAGETABLEDX
resource is a dirty extension of Win32 MESSAGETABLE
resource.
It can be compiled by the mcdx program, created by Katayama Hirofumi MZ.
The compiled binary data is compatible to Win32 MESSAGETABLE
resource.
#ifdef APSTUDIO_INVOKED
#error Ap Studio cannot edit this message table.
#endif
#ifdef MCDX_INVOKED
MESSAGETABLEDX
{
message-statement
...
}
#endif
MESSAGETABLEDX
contains one or more message-statement
's.
A message-statement
is a statement to specify a resource message and has the following syntax:
message-id, "text"
A message-id
is a 32-bit C integer literal or an integral C constant expression.
Win32 MESSAGETABLE
resource has complicated syntax.
Our MESSAGETABLEDX
resource is simple.
You can embed the MESSAGETABLEDX
resources in your resource file (.rc).
To build the resource file with the MESSAGETABLEDX
resources,
please see RisohEditor's CMakeList.txt file.
The mcdx program is executable on both of Windows and Linux.