Page 1 of 2

Creating CD Burner software in PB?

Posted: Tue May 11, 2004 4:14 pm
by nci
Just wondering if anybody has tried to write cd burning software in PB
I think it could be kinda fun to try. But i don't even know where to begin.
does anybody have any ideas? I guess i would have to write a device driver
huh? I hope not. I don't want to use 3rd party dlls or controls and stuff. But
if there is no other alternative then that is ok. If anyone has info on this subject
Let me know!

Thanks

Posted: Tue May 11, 2004 5:24 pm
by dagcrack
This topic has been done like 6 times... one of them by me.
Try looking at them using the Search feature that MySQL lets you use :P

Posted: Tue May 11, 2004 5:46 pm
by blueznl
think this should be added to the faq :-)

Posted: Tue May 11, 2004 7:21 pm
by Num3
Yup... FAQ it :twisted:

And it can be done, but you'll always need an external DLL called wnaspi.dll.

The original one from microsoft only works with scsi devices, you need to get the free one from "NERO Burning Rom" to work with IDE devices.

This DLL provides an ASPI layer for CDR devices.

Then all you have to do is learn how the SCSI 3 protocol works to get it working.

Maybe it's time for a cooperative project to build such an application?

Posted: Tue May 11, 2004 8:27 pm
by blueznl
look for a victim elsewhere! :-)

Posted: Tue May 11, 2004 11:10 pm
by nci
Does the dll require the user to install nero on their harddrive?
cause all i want is to create a cd burning plugin for my Media player.
Audio CD's is all it needs to do. I did se the other topics, but i was wondering
if anyone had new information about it.

Thanks

Posted: Wed May 12, 2004 11:55 pm
by deadmoap
I found a DLL in my nero directory called WNASPI32.DLL. I found one interesting function:

SendASPI32Command

But I don't know how to use it.

Posted: Thu May 13, 2004 2:19 am
by nci
I won't use nero. The user has to have nero installed for it to work :?
Duh, what is the point in that. Anyway, i am going with some free alternatives
like DeepBurner and such to see if they will make an open source library
for freeware developers like me.

Anyway, thanks

Posted: Thu May 13, 2004 9:08 am
by Num3
You don't need to install Nero, the WNASPI32.DLL is distributed for free in the AHED site.

Posted: Thu May 13, 2004 3:35 pm
by nci

A link-up to the WNASPI is only permitted if your homepage expressly refers to Ahead Software AG as producer.
Furthermore the enduser has to be advised that the WNASPI may only be copied in the applications folder, but not in the system folder.
Moreover, you have to emphasize that the enduser is not allowed to incorporate the WNASPI in his own installer.
Finally, the WNASPI may not be be used for other software burning programs.
Man, that sucks. I don't want to get in trouble :)
Any other ideas? Somebody has to have a library somewhere.
I just do not know what to search for

Posted: Sat May 15, 2004 12:10 am
by deadmoap
It's not like they're going to know!

Posted: Sat May 15, 2004 2:43 am
by KarLKoX

Posted: Sat May 15, 2004 8:47 am
by thefool
deadmoap wrote:It's not like they're going to know!
if you look at pages like download.com you only find very few free cd burner apps, if you even find any. Look at nonags, and you find very few too. Its a very difficult task, and i think you need to talk with the cd-burner directly. Maybe using assembler. I belive you can make a cd-burner in PB, but its very difficult and if anyone knows how to, they can make a commercial/shareware app, and that way earn money, so they wouldnt tell you :D

Posted: Sat May 15, 2004 3:46 pm
by nci
Looks cool, but $2000!!!!!! holy crap. not worth it. unless i sell the software
and make a profit. Hey, whatever happened to Open Source Software?
I know creating a cd burner app is very difficult and people want a lot of
money for their efforts. And actually, if I was going to make comercial software
with this, $2000 is not a bad price. But for freeware, no way, not
a chance.

Posted: Sat May 15, 2004 4:32 pm
by KarLKoX
CD Burning api is OS related so you can't use a linux lib for windows, this is why it is hard to find such lib for windows.
You complain about not finding such lib so why not coding it ?
Using Visual Basic let us to use a lot of bunch ready to use activex so the "coder" lose the fact that there is something behind this activex.
I know it is not a very easy task but there are a lot of sourcecode available out there :

- look to cdrecord/mkisofs/cdparanoia sourcecode : it allow to burn/create iso/rip tracks, they are opensource and well coded. I think it might help you a lot.
- look to the akrip api : it show how to use the aspi layer.
- look the sourcecode of

Combining this two things, i think you can do, at least, something usuable.
Perhaps you will say "hey ! you are crazy !!! i don't have the time/skill [add your comment] !"
I will answer : "if you never try, how you could say that ?"
And i know what i am talking about : i saw that there aren't a lot of opensource lib (a part of audiere wich is limited) so, like you, i searched a lot of time without success. And now, i am coding my own wich will be 0$ for purebasic users (it will resemble to fmod).
In the last ressort, you can code a Frontend ... :)