Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!mcnc!rti!lad From: lad@rti.UUCP (Leslie Dent) Newsgroups: comp.sys.amiga Subject: help wanted for closing files Message-ID: <1768@rti.UUCP> Date: Mon, 5-Oct-87 10:19:35 EDT Article-I.D.: rti.1768 Posted: Mon Oct 5 10:19:35 1987 Date-Received: Thu, 8-Oct-87 01:58:41 EDT Distribution: comp Organization: Research Triangle Institute, RTP, NC Lines: 11 Keywords: fclose() 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