Does anyone know how to write to a CDRW drive. I tried to copy a file over using CopyFile and it won't let me. I can copy to a zip or floppy fine though. Thanks
Printable View
Does anyone know how to write to a CDRW drive. I tried to copy a file over using CopyFile and it won't let me. I can copy to a zip or floppy fine though. Thanks
I would guess you would have to interface with a CDR writing program. Nero has APIs you can use to interface with it. I would bet CD Creator does as well
How would I go about using the API's of CD creator?. I have the adaptec CD software. Are you saying it has functions that I can harness?
Most likely, I have no idea about how to interface with CD Creator but I bet if you look around on their site you will find some more info.
also what is nero?
Another (Better) CD Writer
Nero.com
Sorry bad news for ya
This is from CD Creators Web Site:
Q. I would like to be able to use DirectCD to store files to disc from within an application I am writing. How can I do this?
A. You should be able to use any Win32 file system related call in your code to write to a disc which is already formatted and mounted by DirectCD. No programmer's API is currently available.
dam, well thanks for your help. I guess ill stick with the zip disk for now:rolleyes:
Like I said Nero does have APIs but I have never used them before so I cant tell how easy/hard it is to work with them
If you're using a CD-RW/CD-R with a UDF file format such as PacketCD (or DirectCD, possibly), it interfaces with Windows at the device driver level so you don't need to do anything and CreateFile will work just the same (and in turn so will fopen, _open, ofstream, etc.)
well, i've tried to treat it like any other drive, but CopyFile fails when I try to write to the CDRW drive.
Were you copying to a CDR or CDRW? I don't think you can write to CDRs like you could a normal floppy or zip disk, but CDRWs are fine...
I was writing to a RW. I just erased the old contents. Im assuming its still formatted correctly but Ill check.