Getting the JADE Installation Directory

The josGetDirectoryJadeBin call, shown in the following example, obtains the name of the JADE installation directory (commonly known as the bin directory).

int josGetDirectoryJadeBin(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 directory where the executable of the current executing program is located; that is, the directory in which the JADE binaries are installed
size Size of the pathName parameter buffer, defined in characters