In our previous episode, Rolf Grunsky said: > Is it possible to access files that have path lengths too long to access > from explorer through Windows API from Pascal? > > I keep ending up with these very long file names which then I can not > access. It seems that Windows will create the files, usually by copying > the files from another source but the resulting path is too long to > access the file or to delete it. Using the "\\?\" trick doesn't always > work.
One must also call the unicode api to make that trick work. FPC only does that since 3.0. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal