Setting a String Value in the Initialization File

The josIniFileSetString call, shown in the following example, sets the String key value in the specified section of the JADE initialization file.

int josIniFileSetString(const Character * pIniFileName,
                        const Character * pSection,
                        const Character * pKey,
                        const Character * pValue);

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

Parameter Description
pIniFileName Name of the JADE initialization file
pSection Name of the section in the JADE initialization file
pKey Name of the String key in the section in the JADE initialization file
pValue String value that is written to the specified key and section of the JADE initialization file