🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Cannot delete a directory

#766
From: Jos�
Date: Mon, 07 Jan 2008 15:36
15 lines
1479 bytes
On Mon, 07 Jan 2008 06:25:17 -0800, Bob Gonder
<notbg@notmindspring.invalid> wrote in
borland.public.cppbuilder.nativeapi:

>>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

That worked! I never knew about the existence of findclose(). The help
file has an example without it, so how was I to know that findclose()
existed?
-- 
Jos�
Technical Details
Message-ID: <3ih4o3ls9enscriud5hauqiui8ts91h5qq@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feeder2.cambrium.nl!feeder6.cambrium.nl!feed.tweaknews.nl!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <ne94o39s71g92csaaup85ufdomjisjvu4h@4ax.com> <45d4o39oj4fbvn2oktdpic2hedmn8haej8@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: Jos� <jose@127.0.0.1>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Cannot delete a directory
Date: Mon, 07 Jan 2008 16:36:46 +0100
Message-ID: <3ih4o3ls9enscriud5hauqiui8ts91h5qq@4ax.com>
References: <ne94o39s71g92csaaup85ufdomjisjvu4h@4ax.com> <45d4o39oj4fbvn2oktdpic2hedmn8haej8@4ax.com>
X-Newsreader: Forte Agent 4.2/32.1117
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 82.75.73.146
X-Trace: newsgroups.borland.com 1199720304 82.75.73.146 (7 Jan 2008 07:38:24 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feeder2.cambrium.nl!feeder6.cambrium.nl!feed.tweaknews.nl!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail