Load a language or message database
#include <photon/Al.h> AlDataBase_t *AlOpenDBase( const char *path );
phexlib
AlOpenDBase() loads into memory the PhAB language database or message database stored in the file named by path.
This function doesn't search for the file in any special directories or use any environment variables — the path is given directly to open(). |
A pointer to a AlDataBase_t structure that describes the database, which you'll need to pass to functions that work with the database, or NULL if an error occurred.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
AlClearTranslation(), AlCloseDBase(), AlGetEntry(), AlGetSize(), AlReadTranslation(), AlSaveTranslation(), AlSetEntry(), ApCloseMessageDB(), ApGetMessage(), ApLoadMessageDB()
International Language Support chapter of the Photon Programmer's Guide