On 1/15/16, Jürgen Hestermann <juergen.hesterm...@gmx.de> wrote: > Why not prepend "\\?\" at this last Windows step so it works for long paths
This will break existing programs, including the ide. Currently you can use both / and \ in filenames on Wndows filename functions, because the API does not care. That is unlues you prepend \\?\, then character in the given string MUST be in the filename. Also this will then return false on '..\foo.bar', sincenow te APi expects that the two dots are part of the filename. See the comments in ExpandFilenameUTF8 (I think I put a reference there). Bart -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus