Frequently Asked Question:
DAAppendFile and DASaveAsFile
Question
What are the differences between the DAAppendFile and DASaveAsFile functions?
Answer
The difference between the DAAppendFile and DASaveAsFile functions is this:
- DAAppendFile: Appends any changes made to a document originally opened using the DAOpenFile function. This is a fast operation because only the changed objects must be added to the end of the original file. The file is closed after this operation and the file handle will no longer be valid. This function will not work if the source file was opened in read only mode.
- DASaveAsFile: Rewrites the entire file, including all changes, to a new file. This operation may take some time with large files or files with many objects. The original file is closed after this operation and the file handle will no longer be valid.