Initialize the library.
void pdfInitLibrary(const char *configFileName)
The library must be initialized before use. This function performs the initialization and reads a configuration file.

The configuration file name is optional - it can be set to NULL. If the file name is NULL or the file can't be read, default locations are tried. On Linux, it first tries $HOME/.xpdfrc and then /usr/local/etc/xpdfrc. On Windows, it looks for xpdfrc in the directory containing the DLL.

The pdfInitLibrary function will be called automatically (with a NULL configuration file name) if it hasn't already been called when the first library function is used. However, if you are using the library in a multithreaded application, you must explicitly call pdfInitLibrary before calling any other functions.