I've got a function that searches a text file, locates strings that appear to be acronyms, and outputs a spreadsheet listing the candidate acronyms. It runs fine in development mode, but when I compile it and run it from the .exe file on the same PC on which I have VFP installed, it hangs.
When it gets stuck, it's at the end of a line in the text file and keeps reading the same CRLF over and over (even though it has already successfully processed lots of prior lines. I've inspected the point at which it clanks and don't see anything special there: the 0D0A (CRLF) there looks like all the others. I've even tried starting processing after that point, and it just runs down and goes into an infinite loop somewhere else.
So why does this work before I compile it but not after--on the same machine?
Thanks,
Jim
When it gets stuck, it's at the end of a line in the text file and keeps reading the same CRLF over and over (even though it has already successfully processed lots of prior lines. I've inspected the point at which it clanks and don't see anything special there: the 0D0A (CRLF) there looks like all the others. I've even tried starting processing after that point, and it just runs down and goes into an infinite loop somewhere else.
So why does this work before I compile it but not after--on the same machine?
Thanks,
Jim