RE: [DUG] D6 breaks with CPU Window

2007-12-04 Thread Stacey Verner
Just did a little digging on Google and found a solution at http://www.delphiturkiye.com/offline/19/11275.html. It patches a running application to avoid the breakpoint. I have tested this in Delphi 6 and it does work, but I can't vouch for its safety. I think that we'll put it into our testing b

[DUG] File handling help in Delphi 5

2007-12-04 Thread Vikas...
Hi I am back again. Well i need one help in file handling. May be i sound dump here but i struck up badly at one point here. Ok let me first explain my first situation. I have say 10 files and path is say c:\vikas\file1textupto c:\vikas\file10.text. I am storyng all this in string list ok He

Re: [DUG] File handling help in Delphi 5

2007-12-04 Thread Kyley Harris
Your problem is that you are calling readln once before the while loop, without passing the data to lbuff.. this is reading the first line.. I suggest.. scrapping the assign readln method for.. s := TStringList.Create; s.loadfromfile(AFilename) for i := 0 to s.count -1 do begin lbuff := s[i];

Re: [DUG] File handling help in Delphi 5

2007-12-04 Thread Vikas...
Thanks Harris your solution solved my problem On 12/5/07, Kyley Harris <[EMAIL PROTECTED]> wrote: > > Your problem is that you are calling readln once before the while loop, > without passing the data to lbuff.. this is reading the first line.. > > I suggest.. scrapping the assign readln method