From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b45f070b1f46a13d,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-21 08:11:36 PST Path: supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!feeder.qis.net!btnet-peer!btnet!newspeer.clara.net!news.clara.net!news5-gui.server.ntli.net!ntli.net!news6-win.server.ntlworld.com.POSTED!not-for-mail From: "squeaker" Newsgroups: comp.lang.ada Subject: Problem Deleting files & the USE_ERROR exception & WHY X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 Message-ID: Date: Sun, 21 Jan 2001 16:04:35 -0000 NNTP-Posting-Host: 62.252.177.238 X-Complaints-To: abuse@ntlworld.com X-Trace: news6-win.server.ntlworld.com 980093422 62.252.177.238 (Sun, 21 Jan 2001 16:10:22 GMT) NNTP-Posting-Date: Sun, 21 Jan 2001 16:10:22 GMT Organization: ntlworld News Service Xref: supernews.google.com comp.lang.ada:4263 Date: 2001-01-21T16:04:35+00:00 List-Id: I am currently using tasks to perform some file operations. Now I am having a real problem in actually deleting a file at the current time... I am opening the file i wish to delete which is performed successfully, I then try to delete the file and it comes up with the io_exception use_error. Now i am 99% sure that the file wasnt already open by another task, so I am really puzzled as to what else can actually cause a use error, and is there actually a certain amount of time that the program should wait after the file was closed before it can re-open it and then delete it? and just to comfirm, you dont have to close the file once you have deleted it right? because theres nothing to close once its been deleted ??? Help would be appreciated, Thanks Rich