
Corruption Detected Error on NTX with 2 versions of Clipper 5.2
Here is a strange one for you. We recently Y2K some software and came
across a really hair-pulling error.
The program was compiled in 1996 with Clipper 5.2 using Clipper Tools and
linked with Blinker, runs fine, except for a small Y2K bug in a date
calculation. (I do not know which version of Clipper 5.2 or Blinker it was)
Fast forward to 1999 when this exact same program was recompiled with a
change of 2 lines (added SET CENTURY ON and SET EPOCH) to fix that small Y2K
bug.
This one was recompiled with Clipper 5.2d and Blinker 3.30. This program
runs fine.
Now here is the strange part. If you use the indexes created with the old
program and run the new program, you get a Corruption Detected error (and
the indexes {*filter*}out). If you use the indexes created with the new program
and run the old program you get the same error.
We even compared the index files generated by each program, the are the
same.
The real bad part is a 2nd program out there that was also compiled in 1996,
updates these same data files and indexes. Using the new program indexes,
also creates the Corruption Detected error on this 2nd program.
Just to remind you: The Source code has not changed between 1996 and 1999
with the exception of adding 2 lines (SET CENTURY and SET EPOCH).
The Indexes are defined like this:
LTOC(selected) + catagory + key_word
I have been recompiling programs all the time, and have using the same data
and index files from earlier versions. I have never come across this error
before.
Oh before I forget: we also linked in the __wait.obj fix, but linking
without it did not change the error.
Any ideas? We are stumped.
Thanks for any help.
K. Latham
ITL Programming Dept.
http://www.*-*-*.com/
-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
http://www.*-*-*.com/ The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including Dedicated Binaries Servers ==-----