🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Delete a file to Recycle Bin

#11012
From: Steve Aletto
Date: Thu, 04 Mar 2004 07:48
25 lines
2011 bytes
> Isn't a good solution. I want alert message to appear
once, and I don't want
> to use SILENT option

You can specify more than one file in the pFrom member, it
is a "double-null" terminated string:

<MSDN>
pFrom

Address of a buffer to specify one or more source file
names. These names must be fully qualified paths. Standard
DOS wild cards, such as "*", are permitted in the file-name
position. Although this member is declared as a
null-terminated string, it is used as a buffer to hold
multiple file names. Each file name must be terminated by a
single NULL character. An additional NULL character must be
appended to the end of the final name to indicate the end of
pFrom.
</MSDN>

I don't know how many times the alert message will appear,
though.

Steve.
Technical Details
Message-ID: <4046dfbe$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.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> <4046024e@newsgroups.borland.com> <4046092a@newsgroups.borland.com> <40463c2d@newsgroups.borland.com> <40468126$1@newsgroups.borland.com> <4046dd24@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-04 00:09:32 PST
Reply-To: "Steve Aletto" <steve_alettoANTI@SPAMhotmail.com>
From: "Steve Aletto" <steve_alettoANTI@SPAMhotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4045ec37@newsgroups.borland.com> <4045f7da@newsgroups.borland.com> <4046024e@newsgroups.borland.com> <4046092a@newsgroups.borland.com> <40463c2d@newsgroups.borland.com> <40468126$1@newsgroups.borland.com> <4046dd24@newsgroups.borland.com>
Subject: Re: Delete a file to Recycle Bin
Date: Thu, 4 Mar 2004 08:48:47 +0100
Lines: 27
Organization: Steve Aletto
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 80.105.101.132
Message-ID: <4046dfbe$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1078386622 80.105.101.132 (3 Mar 2004 23:50:22 -0800)
Path: arc1-ca.pugleaf.net!archiver1.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