Article View: borland.public.cppbuilder.nativeapi
Article #17125Re: Remove multiple files to Recycle Bin
From: Rudy Velthuis (TeamB)
Date: Sun, 06 Apr 2003 19:28
Date: Sun, 06 Apr 2003 19:28
25 lines
1585 bytes
1585 bytes
In <3e906b66@newsgroups.borland.com>, Konstantin Polyakov wrote:
> It works but when I trying to put in to the big project, it causes
> "Access violation in kernel.dll...". Why ? Please tell me what wrong
> with this code.
If it works outside the big project, there must be something else, in the
big project, that causes the problems.
You can also use:
AnsiString s;
for (int i = 0; i < m1->Count; ++i)
s += m1->Strings[i] + '\0';
s += '\0';
SHF.pFrom = s.c_str();
if (SHFileOperation(&SHF) != 0)
ShowMessage ("Error");
--
Rudy Velthuis (TeamB)
Posted with XanaNews 1.14.3.3
Technical Details
Message-ID:
<3e9071e3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3e906b66@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,1c6a0918c882faad X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-04-06 11:36:24 PST From: "Rudy Velthuis (TeamB)" <rvelthuis@gmx.de> Subject: Re: Remove multiple files to Recycle Bin Newsgroups: borland.public.cppbuilder.nativeapi References: <3e906b66@newsgroups.borland.com> Organization: TeamB User-Agent: XanaNews/1.14.3.3 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 NNTP-Posting-Host: 217.226.69.80 Message-ID: <3e9071e3@newsgroups.borland.com> Date: 6 Apr 2003 11:28:51 -0800 X-Trace: newsgroups.borland.com 1049653731 217.226.69.80 (6 Apr 2003 11:28:51 -0800) Lines: 25 X-Authenticated-User: rvelthuis Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail