🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Delete a file to Recycle Bin

#10997
From: Mario Sernicola
Date: Wed, 03 Mar 2004 16:05
16 lines
1517 bytes
Ehm... I've some problem to understand how to use API function.

Someone can show me code to delete a file with SHFileOperation function?

"Steve Aletto" <steve_alettoANTI@SPAMhotmail.com> ha scritto nel messaggio
news:4045f7da@newsgroups.borland.com...
> > I've to implement a function that delete a file and put it
> in the recycle
> > bin.
>
> Have a look at SHFileOperation. It does exactly what you
> need.
>
> Steve.
>
>
Technical Details
Message-ID: <4046024e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4045ec37@newsgroups.borland.com> <4045f7da@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,820b8d6a3def1656
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-03-03 08:11:04 PST
Reply-To: "Mario Sernicola" <mariosernicola.nospam@libero.nospam.it>
From: "Mario Sernicola" <mariosernicola.nospam@libero.nospam.it>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4045ec37@newsgroups.borland.com> <4045f7da@newsgroups.borland.com>
Subject: Re: Delete a file to Recycle Bin
Date: Wed, 3 Mar 2004 17:05:55 +0100
Lines: 18
Organization: i'msoft
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: 80.181.138.8
Message-ID: <4046024e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1078329934 80.181.138.8 (3 Mar 2004 08:05:34 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail