On Fri, 23 Nov 2018, AlexeyT via lazarus wrote:

This app cannot make 2nd folder (it can make 1st) and make file. Error on file saving. why? new manifest option is used. Win10.

{ TForm1 }

const
s1='w123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012';
  base='c:\work\';

procedure TForm1.Button1Click(Sender: TObject);
var f: TStringList;
begin
  ForceDirectories(base+s1+'\'+s1);

ForceDirectories is in the FPC RTL. It probably would need to obey the \\?\ prefix if long paths are to be
supported.

Michael.
-- 
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to