2013/11/26 Craig Peterson <[email protected]> > > On Nov 26, 2013, at 7:59 AM, Richard Mace <[email protected]> wrote: > > I have an issue where I am unable to delete a file where the path name is > longer than 256 characters. > > > You need to call the Unicode variant of the file APIs and add \\?\ to the > start of the path in order to interact with paths longer than MAX_PATH. > See http://msdn.microsoft.com/en-us/library/aa365247(VS.85).aspx#maxpathfor > details. > > Richard wanted to delete his file programmatically, of course, else he wouldn't be asking his question in this list :-P
-- Frederic Da Vitoria (davitof) Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
