Article View: borland.public.cppbuilder.nativeapi
Article #11022Re: Delete a file to Recycle Bin
From: Steve Aletto
Date: Thu, 04 Mar 2004 17:01
Date: Thu, 04 Mar 2004 17:01
7 lines
1578 bytes
1578 bytes
> FileOpStr.pFrom = files.c_str(); If I'm not wrong, you can't use c_str() in that case, it won't do what you wish. Instead of an AnsiString, alloc a char * and use it to copy (strcpy) and concatenate (strcat) the file names. Steve.
Technical Details
Message-ID:
<4047615e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<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> <4046ECF6.D92243F4@gmx.de> <404733ef@newsgroups.borland.com> <4047365b@newsgroups.borland.com> <40475805@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 09:10:35 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> <4046ECF6.D92243F4@gmx.de> <404733ef@newsgroups.borland.com> <4047365b@newsgroups.borland.com> <40475805@newsgroups.borland.com> Subject: Re: Delete a file to Recycle Bin Date: Thu, 4 Mar 2004 18:01:50 +0100 Lines: 9 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: <4047615e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1078419806 80.105.101.132 (4 Mar 2004 09:03:26 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail