From: Jean-Louis F. <jfa...@gm...> - 2009-12-13 21:39:31
|
Hi, Maybe this is already a known problem by the group, but I was unaware of that till today... Under win32 (and probably win64), call SysFileTree "*.odg", "files", "FO" will return all the following files : f.odga f.odg1 .~lock.dlgArea.odg# This is because the search made by FindFirstFile (and FindNextFile) includes the long *and short file names* (see MSDN). This link brings more details : http://blogs.msdn.com/oldnewthing/archive/2005/07/20/440918.aspx After googling, I did not find a way to bypass this win32 problem. I leave you decide if it's worth noting this odd behavior in the documentation of SysFileTree... Jean-Louis |