[Previous] [Contents] [Index] [Next]

ApLoadMessageDB()

Load a message database

Synopsis:

ApMsgDBase_t *ApLoadMessageDB( ApMsgDBase_t *db,
                               const char *name );

Library:

Ap

Description:

This function loads the message database with the given name. It searches for the file based on the value of the ABLPATH and the current language:

The db argument is used if you want to add the messages from one database to another that's already open. This argument can be NULL.

Returns:

A pointer to the new database, or NULL if it couldn't be opened.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

AlClearTranslation(), AlCloseDBase(), AlGetEntry(), AlGetSize(), AlOpenDBase(), AlReadTranslation(), AlSaveTranslation(), AlSetEntry(), ApGetMessage()

International Language Support chapter of the Photon Programmer's Guide


[Previous] [Contents] [Index] [Next]