Creating CD Burner software in PB?

Just starting out? Need help? Post your questions and find answers here.
nci
User
User
Posts: 28
Joined: Mon Jul 28, 2003 6:03 pm

Creating CD Burner software in PB?

Post 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
Neptune Century Inc.
Eric Butler, CEO, Lead programmer

"The road to happiness never ends..."
dagcrack
Addict
Addict
Posts: 1868
Joined: Sun Mar 07, 2004 8:47 am
Location: Argentina
Contact:

Post 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
! Black holes are where God divided by zero !
My little blog!
(Not for the faint hearted!)
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

think this should be added to the faq :-)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post 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?
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

look for a victim elsewhere! :-)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
nci
User
User
Posts: 28
Joined: Mon Jul 28, 2003 6:03 pm

Post 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
Neptune Century Inc.
Eric Butler, CEO, Lead programmer

"The road to happiness never ends..."
deadmoap
User
User
Posts: 79
Joined: Sun Feb 22, 2004 11:45 pm
Location: Riverdale, Utah
Contact:

Post 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.
nci
User
User
Posts: 28
Joined: Mon Jul 28, 2003 6:03 pm

Post 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
Neptune Century Inc.
Eric Butler, CEO, Lead programmer

"The road to happiness never ends..."
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

You don't need to install Nero, the WNASPI32.DLL is distributed for free in the AHED site.
nci
User
User
Posts: 28
Joined: Mon Jul 28, 2003 6:03 pm

Post 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
Neptune Century Inc.
Eric Butler, CEO, Lead programmer

"The road to happiness never ends..."
deadmoap
User
User
Posts: 79
Joined: Sun Feb 22, 2004 11:45 pm
Location: Riverdale, Utah
Contact:

Post by deadmoap »

It's not like they're going to know!
KarLKoX
Enthusiast
Enthusiast
Posts: 681
Joined: Mon Oct 06, 2003 7:13 pm
Location: France
Contact:

Post by KarLKoX »

"Qui baise trop bouffe un poil." P. Desproges

http://karlkox.blogspot.com/
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post 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
nci
User
User
Posts: 28
Joined: Mon Jul 28, 2003 6:03 pm

Post 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.
Neptune Century Inc.
Eric Butler, CEO, Lead programmer

"The road to happiness never ends..."
KarLKoX
Enthusiast
Enthusiast
Posts: 681
Joined: Mon Oct 06, 2003 7:13 pm
Location: France
Contact:

Post 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 ... :)
"Qui baise trop bouffe un poil." P. Desproges

http://karlkox.blogspot.com/
Post Reply