Article View: borland.public.cppbuilder.nativeapi
Article #11018Re: Delete a file to Recycle Bin
From: Mario Sernicola
Date: Thu, 04 Mar 2004 13:50
Date: Thu, 04 Mar 2004 13:50
9 lines
1632 bytes
1632 bytes
The problem is that it seems to be hard to build the string "filename.1\0filename.2\0filename.3\0...\0filename.n\0\0" from the strings of a TListView that are AnsiString I concatenate the strings and add "\0\0" at the end but when I convert AnsiString in a char * with c_str() function, the SHFileOperation function don't run properly
Technical Details
Message-ID:
<404733ef@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!border1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!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>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 06:05:57 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> <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> Subject: Re: Delete a file to Recycle Bin Date: Thu, 4 Mar 2004 14:50:18 +0100 Lines: 11 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.183.69.201 Message-ID: <404733ef@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1078408175 80.183.69.201 (4 Mar 2004 05:49:35 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!border1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail