[Lazarus] FileExistsUTF8 and long paths

Jürgen Hestermann juergen.hestermann at gmx.de
Sun Jan 17 14:33:31 CET 2016


Am 2016-01-17 um 14:23 schrieb Jürgen Hestermann:
 > Additional checks (i.e. for dots) are needed
 > but I think it should be possible to find out
 > when a path is:
 > 1. not relative and
 > 2. without forward slashes and
 > 3. too long to be resolved without prepended \\?\

Even better would be to do the expansion of relative paths
internally before handing it over to the Windows API
so that they even work when Windows would fail.
The same applies to forward slashes.





More information about the Lazarus mailing list