anchor.diff:  
       regWriteString(SRegValue_IDEOpt_DefaultProjectPath, FDefaultProjectPath);
   
  -    regWriteBool(SRegValue_AutomaticallyReportErrors, FReportErrors);
  -    regWriteBool(SRegValue_AutomaticallyReportUsage, FReportUsage);
  +    // for consistency with Keyman.System.KeymanSentryClient, we need to use
  +    // reg.WriteInteger, as regWriteInt, which in the dim dark past started
  +    // to write integers as a REG_SZ type and that's far too messy to change now.
  +    reg.WriteInteger(SRegValue_AutomaticallyReportErrors, IfThen(FReportErrors, 1, 0));
  +    reg.WriteInteger(SRegValue_AutomaticallyReportUsage, IfThen(FReportUsage, 1, 0));
     finally
       CloseRegistry;
     end;
  
positive.code: 
      FDefaultProjectPath := IncludeTrailingPathDelimiter(regReadString(SRegValue_IDEOpt_DefaultProjectPath, GetFolderPath(CSIDL_PERSONAL) + CDefaultProjectPath));
  
      FReportErrors := regReadBool(SRegValue_AutomaticallyReportErrors, True);
      FReportUsage := regReadBool(SRegValue_AutomaticallyReportUsage, True);
    finally
      CloseRegistry;
    end;
  
negative.code: (*
    Name:             TikeOptions
    Copyright:        Copyright (C) SIL International.
    Documentation:
    Description:
    Create Date:      20 Jun 2006
  
    Modified Date:    24 Jul 2015
    Authors:          mcdurdin
    Related Files:
    Dependencies:
  
    Bugs:
    Todo:
    Notes:
    History:          20 Jun 2006 - mcdurdin - Initial version
                      04 Dec 2006 - mcdurdin - Add AllowMultipleInstances
                      23 Aug 2007 - mcdurdin - Remove unused options; I927 - add external editor
  