dce_msg_get_default_msg(3dce)Retrieves DCE message from in-memory tables Synopsis #include <dce/dce_msg.h> unsigned char *dce_msg_get_default_msg( unsigned32 message, error_status_t *status); Parameters Input
message Output
status
Description This routine should be used only for message strings that will never have to be translated (see dce_msg_translate_table(3dce)). All messages for a given component are stored in a single message catalog generated by the sams utility when the component is built. Messages may also be compiled directly into the component code, thus rendering the successful retrieval of message text independent of whether or not the message catalogs were correctly installed. Generation of in-memory message tables is specified by the incatalog flag in the sams file in which the message text is defined. (See sams(1dce) for more information on sams files.) If the messages have been generated at compile time with this option specified, the dce_msg_define_msg_table( ) routine can be called by the application to set up an in-memory table containing the messages.
Examples
#include <dce/dce.h> Errors The following describes a partial list of errors that might be returned. Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages.
Related Information
|