You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`procedure TCEFConfig.SetPathCache(const Value: String);
begin
if AnsiLowerCase(FPathCache) = AnsiLowerCase(Value) Then
Exit;
ForceDirectories(PWideChar(ExtractFilePath(Value)));
if not TestaOk(FPathCache, Value) Then Exit;
FPathCache := Value;
PNewValue must be equal to POldValue in this case it returns false
function TCEFConfig.TestaOk(POldValue, PNewValue: String):Boolean;
var
LDir : String;
begin
if AnsiLowerCase(POldValue) = AnsiLowerCase(PNewValue) Then
Begin
Result := False;
Exit;
End;
LDir := ExtractFilePath(PNewValue);
if Self.status = asInitialized then
raise Exception.Create(MSG_ConfigCEF_ExceptNotFoundPATH);
if not DirectoryExists(LDir) then
//raise Exception.Create(Format(MSG_ExceptPath, [LDir]));
//Aurino 11/07/2022
deletefile(pwidechar(ExtractFilePath(Application.ExeName) + NomeArquivoIni)) ;
Result := true;
end;
I am working on multi user application and I need to change cache, userdata and log folders in run time
but that is not allowed after in run time
The text was updated successfully, but these errors were encountered: