Corrupt FilesThe following file mode is related to corrupt files:
As discussed in detail in “File Recovery”, each data and index file has a header record. If the header record is compromised, you will not be able to open the file successfully. Typically, you will receive an error code of FCRP_ERR (14). Use RebuildIFile() to rebuild the compromised data file and index. There are, however, some instances when you want to be able to open a file that has been corrupted. For instance, to use DeleteCtFile() to get rid of the damaged file. c-tree Plus provides a file mode of ctOPENCRPT for this purpose. If you OR in this mode when you open the file, you will be able to bypass the normal error checking done by c-tree Plus. Warning: Do not use ctOPENCRPT except in those rare cases requiring it and only for the purpose of deleting the file or doing some very low level processing. We cannot guarantee the success of any c-tree Plus function other than DeleteCtFile() if you use this mode. Extensive processing of a corrupted file may result in serious problems |
|||