🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #764

Re: Cannot delete a directory

#764
From: Bob Gonder
Date: Mon, 07 Jan 2008 14:25
7 lines
1241 bytes
Jos� wrote:

>My program uses findfirst() and rename() to remove all files from a
>folder. And then it executes RemoveDir() and this fails.

I'm guessing you still have the "find" open.
findclose() might help
Technical Details
Message-ID: <45d4o39oj4fbvn2oktdpic2hedmn8haej8@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <ne94o39s71g92csaaup85ufdomjisjvu4h@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,aa6e00669d5b96c9
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Cannot delete a directory
Date: Mon, 07 Jan 2008 06:25:17 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <45d4o39oj4fbvn2oktdpic2hedmn8haej8@4ax.com>
References: <ne94o39s71g92csaaup85ufdomjisjvu4h@4ax.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 67.77.147.57
X-Trace: newsgroups.borland.com 1199715912 67.77.147.57 (7 Jan 2008 06:25:12 -0700)
Lines: 9
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail