Issue 31289  —   $setting cannot access a Registry Key that includes a forward slash in the name

Status:   Planned for resolution in 10.4.01

Solution available in patch(es):      10.3.02.030    9.7.05.043

Description:

 Summary:
 Uniface: When using $setting to read a Registry key that includes a forward
 slash ("/") in its name then this will fail. The forward slash is interpreted
 as a path separator (like the backslash; "\").

 Environment:
 +Uniface:
 * All Versions
 * Version 9.3.01 (and higher)

 +Operating System:
 * OS independent

 +Database:
 * DBMS independent

 Symptoms:
 When using $setting to read a Registry key that includes a forward slash ("/")
 in its name then this will fail. The forward slash is interpreted as a path
 separator (like the backslash; "\").

 Consider the following code:

 vRegData = $setting("","[HKEY_CLASSES_ROOT\MIME\Database\Content
 Type\text/css]Extension","REGDATA")

 When executing the above statement then $procerror is -1118 (Argument not
 valid) and vRegData is empty.

Workaround:

 There is no known workaround for this problem.

Notes: