diff --git a/src/ce_common.pas b/src/ce_common.pas index ddda11cd..d9c83142 100644 --- a/src/ce_common.pas +++ b/src/ce_common.pas @@ -379,6 +379,7 @@ begin str1.WriteComponent(aComp); str1.Position := 0; ObjectBinaryToText(str1,str2); + ForceDirectories(ExtractFilePath(aFilename)); str2.SaveToFile(aFilename); finally str1.Free;