[comp.sys.amiga] help wanted for closing files

lad@rti.UUCP (Leslie Dent) (10/05/87)

In order to cut down on the amount of disk accessing my C program does, I 
decided to try building my data file in ram: and then copy the whole
file to the disk.  After all of the data was entered, I closed the file
with fclose() under Lattice C.  Then I issued the CLI copy command using
Execute().  The copy command gave me an error "object in use."
I am guessing that means the file was not completely released by 
fclose().  Is there anything else I must do to free the file so that
other commands can manipulate it? (besides exit the program) I'm baffled.
Can anyone shed any light on the subject?

Leslie Dent