Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 1.45 KB

MESSAGETABLEDX.md

File metadata and controls

55 lines (38 loc) · 1.45 KB

MESSAGETABLEDX Resource

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.

Syntax

#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.

message-statement

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.

Why do we use MESSAGETABLEDX resources?

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.

See Also

mcdx