Getting the JADE HOME Directory

The josGetDirectoryJade call, shown in the following example, obtains the name of the JADE HOME directory, which is the parent directory of the installation directory (for example, if your installation directory is Jade\bin, your JADE HOME directory is Jade).

int josGetDirectoryJade(Character pathName[],
                        Size      size);

The parameters for this call are listed in the following table.

Parameter Description
pathName Buffer to receive the name of the JADE HOME directory
size Size of the pathName parameter buffer, defined in characters