Article View: borland.public.cppbuilder.nativeapi
Article #7429Re: Copying files to CD
From: Carl
Date: Mon, 07 Feb 2005 20:09
Date: Mon, 07 Feb 2005 20:09
31 lines
2244 bytes
2244 bytes
Well, I've tried opening file stream, using SHFileOperation(&Fo), CopyFile(Ex) and MCI-calls. I get the Windows message that the files on the CD-ROM unit are write protected and that I cant copy or write files to it. Using manual file copying in Windows I have to use the guide Writing to CD. I thought there should be an automatic way to do this. I want to use the CD for backups. Can I somehow release the write lock from my app (I am using XP)? Carl "Andrue Cope [TeamB]" <no.spam@not.a.valid.address> skrev i meddelandet news:4207969b$1@newsgroups.borland.com... > Carl wrote: > > > It should be a method that > > can be used with most types of Windows CD/RW units. Which is the > > proper way to do this? > > If the user has CDRW capable drivers installed you should be able to > treat the CD like a normal drive. The only time it would become an > issue (I think) is if you were attempting random access which would be > bad from a performance POV or random updating of files which could > waste a lot of space and cause hassle when the CD becomes unexpectedly > full. > > How are you thinking of using the CD? > > -- > Andrue Cope [TeamB] > [Bicester, Uk] > http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID:
<4207caf3$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!tiscali!newsfeed1.ip.tiscali.net!news.tele.dk!news.tele.dk!small.news.tele.dk!ltu.se!luth.se!38.119.100.82.MISMATCH!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<420794c1$1@newsgroups.borland.com> <4207969b$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,dea8951631a738cb X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Carl" <nospam@nospam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <420794c1$1@newsgroups.borland.com> <4207969b$1@newsgroups.borland.com> Subject: Re: Copying files to CD Date: Mon, 7 Feb 2005 21:09:22 +0100 Lines: 33 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 83.253.8.229 Message-ID: <4207caf3$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1107806963 83.253.8.229 (7 Feb 2005 12:09:23 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!tiscali!newsfeed1.ip.tiscali.net!news.tele.dk!news.tele.dk!small.news.tele.dk!ltu.se!luth.se!38.119.100.82.MISMATCH!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail