Share

acedGetCfg Function

C++

ACCORE_PORT int acedGetCfg(
    const ACHAR * sym, 
    AcString & sResult
);

File

acedads.h

Description

Deprecated. Retrieves application data from the AppData section of the acad.cfg file.

Note: This function is obsolete and will be removed in a future release. Move all CFG stored settings to the registry or elsewhere.

The sym argument must be a string of this form:

"AppData/application_name/section_name/.../parameter"

Parameters

Parameters Description
sym String (maximum length of 347 characters) naming the section and parameter value to retrieve
sResult String containing the value retrieved

Returns

Returns RTNORM if successful, otherwise RTERROR is returned if sym is not valid or not found.

Was this information helpful?