Write to CD/DVD/Blue-Ray

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Write to CD/DVD/Blue-Ray

Post by IdeasVacuum »

The AudioCD functions are good - it would be great to have CD/DVD write functions too.
Last edited by IdeasVacuum on Fri Nov 29, 2013 2:05 am, edited 1 time in total.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
normeus
Enthusiast
Enthusiast
Posts: 471
Joined: Fri Apr 20, 2012 8:09 pm
Contact:

Re: Write to CD/DVD

Post by normeus »

there is this answer in stackoverflow for a windows API call which looks simple enough:
http://stackoverflow.com/questions/8299 ... urning-api

Of course, I haven't grasped the complexity :wink:

EDIT:
It was not that simple. You need to add <imapi.h> which is installed with microsoft SDK
Sorry.
google Translate;Makes my jokes fall flat- Fait mes blagues tombent à plat- Machte meine Witze verpuffen- Eh cumpari ci vo sunari
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Write to CD/DVD

Post by IdeasVacuum »

Hi normeus - yeah, there are two or three posts using Windows API, but really we want a cross-platform lib.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Seymour Clufley
Addict
Addict
Posts: 1264
Joined: Wed Feb 28, 2007 9:13 am
Location: London

Re: Write to CD/DVD

Post by Seymour Clufley »

Don't you mean CD/DVD/Blu-Ray?
JACK WEBB: "Coding in C is like sculpting a statue using only sandpaper. You can do it, but the result wouldn't be any better. So why bother? Just use the right tools and get the job done."
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Write to CD/DVD

Post by IdeasVacuum »

Good Point, certainly should be included and is possibly a variation of DVD methods (I don't know).

For my use, only interested in CD and DVD for archiving data files - Saving data on Blue-Ray for 10 years or more is currently unproven, so risking critical data storage on that media not a good idea, but various labs/universities and most notably NIST are conducting long-term testing.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Post Reply