????????RegQueryStringValue(HKEY_CURRENT_USER,?'SOFTWARE\SODA', 'appversion', ????????appversion)
?????????RegWriteStringValue(HKEY_CURRENT_USER, 'SOFTWARE\SODA', 'appversion', ????????'soda_value');
????????RegQueryDWordValue(HKEY_CURRENT_USER,??'SOFTWARE\SODA', 'appversion',?
????????appversion)
????????RegWriteDWordValue(HKEY_CURRENT_USER,??'SOFTWARE\SODA','appversion',?
????????0)
????????RegDeleteValue(HKEY_CURRENT_USER, 'SOFTWARE\SODA', 'appversion')
????????function RegisterSuffix(const Section, Key, Default, Filename: String): Boolean;
????????var
????????customSuffixArray: TArrayOfString;
????????suffix:String;
????????index:Integer;
????????begin
????????????????suffix := GetIniString(Section, Key, Default, Filename);
? ??????????????customSuffixArray := StrSplit(suffix, ',');
????????????????for index:=0 to GetArrayLength(customSuffixArray)-1 do
? ??????????????begin
????????????????????????RegWriteStringValue(HKEY_CLASSES_ROOT, '.' + customSuffixArray[index], '', ????????????????????????'SODA');
? ??????????????end;
????????????????Result := true;
????????end;