[fpc-pascal] Question on how to avoid memory trouble using FindFirst(), FindNext() and FindClose()

2007-02-02 Thread Cox, Stuart TRAN:EX
I am trying to EnumerateFiles (create a list of all files that match a given filespec) across and down a whole drive. I've directly used the EnumerateFiles code from TurboPower's SysTools as available on SourceForge. The code works just as TurboPower designed and it and my wrapper code runs find

Re: [fpc-pascal] Question on how to avoid memory trouble using FindFirst(), FindNext() and FindClose()

2007-02-02 Thread Marco van de Voort
Can anyone recommend a method to search a whole drive, of arbitrary size, without running out of memory. I don't know seen SysTools, but I worked analysing logfiles for a year. All containertypes (TList TObjectList and TstringList included) that have a single array as internal datastructure

[fpc-pascal] New stylesheet for fpcunit xml reports

2007-02-02 Thread Vincent Snijders
Hi, Dean Zobec created a new xmlreportwriter for fpcunit. Among others it supports nested test suites. Does anybody have a stylesheet for showing such a report. Maybe somebody is willing to create one. Examples of the old xml format+ style sheet (slightly modified):

RE: [fpc-pascal] Question on how to avoid memory troubleusing FindFirst(), FindNext() and FindClose()

2007-02-02 Thread Cox, Stuart TRAN:EX
Thanks for taking the time to offer help. I don't believe that the memory is being used up by the TStringList since I eliminated it from being populated at all. Through the whole run of examining the drive's directories it never gets given a file. Yet, memory is still completely used up.