🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Erasing a directory?

#10830
From: Bogdan
Date: Tue, 09 Mar 2004 09:41
25 lines
1599 bytes
Can you please give me the exact prototype of the SHFileOperation function
(and a small example)
because I couldn't find any refernece to it in the help files that came with
C++Builder 6.0, and at the
moment I don't have access to a copy of MSDN.

Bogdan.


"Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in message
news:404cd97d$1@newsgroups.borland.com...
>
> "Bogdan" <boprea@xnet.ro> wrote in message
> news:404cc904$1@newsgroups.borland.com...
>
> > How can I erase a directory(with all the files that it contains),
> > using Win32 API, and without moving the files first to the
> > Recycle Bin?
>
> Look at SHFileOperation()
>
>
> Gambit
>
>
Technical Details
Message-ID: <404d91e0@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <404cc904$1@newsgroups.borland.com> <404cd97d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,24d5ec2ae3e0cace
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-03-09 02:09:39 PST
From: "Bogdan" <boprea@xnet.ro>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <404cc904$1@newsgroups.borland.com> <404cd97d$1@newsgroups.borland.com>
Subject: Re: Erasing a directory?
Date: Tue, 9 Mar 2004 11:41:52 +0200
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 213.233.78.55
Message-ID: <404d91e0@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1078825440 213.233.78.55 (9 Mar 2004 01:44:00 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail