lxaGetDefaultSalienceLocation

<< lxaGetSalienceVersion | Back to Salience 6 C API Index | lxaAddSalienceConfiguration >>

Summary

Gets the root location for the Salience installation. On Windows, this is based on the value of a registry key created during install. On Linux, it is based on the lxainstall environment variable. Call lxaFreeString to release the memory.

Syntax

int lxaGetDefaultSalienceLocation(char **ppBuffer);

Parameters

ppBuffer Pointer to a char* buffer

Returns

Integer return code.

Example

     char* acRootPath;
     lxaGetDefaultSalienceLocation(&acRootPath);
     std::cout << acRootPath << std::endl;
     lxaFreeString(acRootPath);

<< lxaGetSalienceVersion | Back to Salience 6 C API Index | lxaAddSalienceConfiguration >>