Re: Browsing the NTFS file system
Brought to you by:
set
From: Salvador E. T. <sal...@in...> - 2006-11-29 12:39:30
|
On 28/11/06 15:34, Dennis Smallwood wrote: >I am wondering about the TVision ability to browse NTFS partitions. I seem >to be able to list the files that are below 2GB in file size, but files more >that 2GB are not displayed. Is this a limitation of 32 bits calls? > >Has anyone been successful in getting this to work? Would the libraries have >to change to include this ability? How? Is this a feature request? > > Don't know. Take a look at classes/tfilelis.cc You'll find void TFileList::readDirectory( const char *aWildCard ) in a section that says "// Linux, BC++/Win32 and CygWin". It uses stat and S_ISREG: if (stat(gl.gl_pathv[i], &s) == 0 && S_ISREG(s.st_mode)) I don't have NTFS so I can't test it. Regards, SET |