Important alert: (current site time 7/16/2013 2:43:02 AM EDT)
 

winzip icon

Flamed Lib - CD Writing and more

Email
Submitted on: 8/1/2005 5:23:13 AM
By: Arne Elster 
Level: Advanced
User Rating: By 61 Users
Compatibility: VB 6.0
Views: 45825
author picture
(About the author)
 
     The Flamed Lib (or simply Flamed v4) is an Active X DLL with plenty of functions for you to deal with CD/DVD-ROM programming. Comes with a complete CD Burner application and many little test projects. Features: create Data CDs (multisession) and Audio CDs, burn ISO images, data track to ISO image, session to BIN/CUE, extract tracks from BIN/CUE images, BIN to ISO conversion, audio tracks to WAV/MP3 (uses the ACM), CD-Text reader, FreeDB query, drive/disk/disk content information, CD player (digital/analog), CD-RW eraser, drive monitor (fires if medium removed/arrived) and more. The drive compatibility was increased once more, you shouldn't get the "Could not send write parameters page" error anymore. For any other questions read "readme.txt".

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 23 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
8/1/2005 8:50:28 AMRandy Chau

Not working for me, it read 0 MB for my blank CD.
(If this comment was disrespectful, please report it.)

 
8/1/2005 9:36:52 AM[rm_code]

You could have a tool running which hides CD-R media.
(If this comment was disrespectful, please report it.)

 
8/1/2005 9:39:24 AM[rm_code]

You should be able to write a CD either.
(If this comment was disrespectful, please report it.)

 
8/1/2005 9:43:12 AMDave

One of the best applications on pscode. period.

This project should evolve into a proper open source burning suite.

If their is NO CD in the available drives when the problem is loaded their should be better error protection. Clicking on some buttons will kill the program.

Other than these comestic issues, keep working on this.
(If this comment was disrespectful, please report it.)

 
8/1/2005 11:21:41 AMmugman21

RM, I've yet to evaluate this code, but due to it's nature and originality, it has my 5 globes already.


I know people will complain it doesn't work with thier paticular drive, so just ignore that. Your previous versions of flamed are excellent, pushing the boundries of VB to the max.
(If this comment was disrespectful, please report it.)

 
8/1/2005 3:11:47 PMRuturaaj

I'm following this code from it's first day on PSC. Now, this has taken a nice shape. You are great and it's so nice that not only you have continued working on it but also you are sharing your work with us.

Great. As mugman21 has said ... the originality itself deserves @@@@@ ! Keep up the work friend ...
(If this comment was disrespectful, please report it.)

 
8/1/2005 5:41:36 PMScott

Wow, I Dunno How U Guys Can Give Away A So Good/Coded Professional Looking Prog :o, I Think U Should Try To Sell It Or Something
(If this comment was disrespectful, please report it.)

 
8/1/2005 8:30:38 PMJavier Alegre

This program is great. Thanks for sharing it.
Five for you¡¡
(If this comment was disrespectful, please report it.)

 
8/2/2005 12:10:49 AMNightFox

rm_code is the best aspi stuff programmer i have seen in the VB programming world! Well U are The BEst Of Teh BEst!
55555 Globes from me!
Remember:
Work takes Time, Time Takes Space And To Fill That Time U Need To Work
(If this comment was disrespectful, please report it.)

 
8/2/2005 7:07:26 AMAAM

WOW 5 from me
Update to create VCD and DVD :)
(If this comment was disrespectful, please report it.)

 
8/2/2005 7:42:19 AM[rm_code]

@AAM: Not as easy as you think it is.
For DVD I'd have to 1) buy a DVD writer ($) 2) buy DVD-Rs, -RWs, +Rs and +RWs ($$) 3) sit there for weeks and study DVDs 4) sit there for some more weeks to get the Flamed Lib to write something to the disks.
Like I've written in the readme: You want DVD support? Add it ;)
Video CDs: Can you tell me what's the format of the files in the directories "EXT" and "VCD"?
(If this comment was disrespectful, please report it.)

 
8/2/2005 8:02:11 AMenmity

i ever thought the previous version is the best;) now better

hey, put it in sourceforge.net!
(If this comment was disrespectful, please report it.)

 
8/2/2005 1:36:32 PMRuturaaj

Yaa. I'm with enmity. Please put it on SourceForge. PSC is all about code sharing. You can't make a log of bug-reports and all that stuff. SourceForge is a real open source code "development" platform. PSC has its own scope and it's best in its boundries. But this project has reached a level where it needs to be on platform like SourceForge.

Remember cEdit ? it moved from PSC to SourceForge and now I think this also deserves to be there. Think over it and let us (or at least me) know about the new home of this project.

mailme_friends@yahoo.com
(If this comment was disrespectful, please report it.)

 
8/2/2005 2:06:03 PMDriscollart

Could this be used to create an ISO image from a set of files and folders?
(If this comment was disrespectful, please report it.)

 
8/2/2005 3:03:31 PM[rm_code]

to Driscollart: Indeed. Create a data CD project, add some dirs and files, click the upper left button and choose "save as ISO"
(If this comment was disrespectful, please report it.)

 
8/5/2005 10:01:19 PMCasper Phillips

I would have rated your code higher but in the examples you had there really was not a way to do any burning. if you added a way to add files to the data burning project and add cda burning i would give 5 stars instead of three. I think your and Ideas are very good you just need show how your code can really be sued.
(If this comment was disrespectful, please report it.)

 
8/6/2005 8:11:35 AM[rm_code]

@Casper Phillips: I don't if you yet found it, but there is a "demo" directory like I've written in the description.
If you open this directory, you will find a lot of examples.
>>2<< of these examples are called: "Data CD Writer" and "Audio CD Writer".
The "Data CD Writer" burns files on a CD.
The "Audio CD Writer" burns WAVs and MP§s on a CD.
By drag'n'dropping files and directories on the GUI of the "Data CD Writer" Or "Audio CD Writer", you can add files and directories to the list of files to burn.
And there is even more! Open the example called "complete" and you will find a complete CD writing app.
Was this clear enough?
(If this comment was disrespectful, please report it.)

 
8/6/2005 2:16:47 PMcoder86

simply amazing
(If this comment was disrespectful, please report it.)

 
8/7/2005 1:47:12 PMCraig Phillips

I cannot seem to get CD-RW Eraser to work. I have tryed looking at t10.org drafts, but it is very hard to understand. I have made sure that the disk is CDRW and it has data on it. Apart from the code is excellent. And if it is OK with you would I be able to use your code to add complete DVD-R/RW support.

Thanks
Craig
(If this comment was disrespectful, please report it.)

 
8/9/2005 7:35:42 PMsung

Not include FlamedLib.Dll?
Where i find it?
(If this comment was disrespectful, please report it.)

 
8/10/2005 5:21:32 AM[rm_code]

@sung: read "readme.txt".
@Craig Phillips: What exactly does not work?
About modifiying, sure, do whatever you want with it.
(If this comment was disrespectful, please report it.)

 
8/11/2005 11:22:14 AMCraig Phillips

The CD Eraser project is not working for me. I tryed looking through the drafts but it still would not work.
(If this comment was disrespectful, please report it.)

 
8/15/2005 10:08:46 AMTheAlas

I just love when people say "it doesnt work", completely excluding «Error writing to registry: Access denied, you need administrative privileges in order to write to registry.» and such messages ;), most of them just hits OK and says «it's not working».
It is sad that this site has no bug reporting system, this comment system is not enough for projects of this size.

(If this comment was disrespectful, please report it.)

 
8/18/2005 7:08:52 PMRichard Mewett

5* for continuing to develop this excellent CD code resource.
(If this comment was disrespectful, please report it.)

 
8/22/2005 9:40:07 AMshana

This project is unbelievable. I think no man or women has ever done this before in VB. Fantastic! Only when i run the data cd writer demo project in the PrepareWrite sub the cDataCD.CloseSession line is giving an error because it doesn't exist within the object. I sepose because it's replaced by CloseLastSession. With what value needs the drvID parameter of the CloseLastSession function be filled?
(If this comment was disrespectful, please report it.)

 
8/23/2005 11:12:56 PMGonzalo

Hi, friend.
I am from Peru. I testing your code and this is very good, congratulations.
I have a problem. I try Burn a CD with 200 files in total 60 mb, and 3 exe files of 15 mb each on. but it is not burn on cd. only there are 198 files in cd.

thanks.
(If this comment was disrespectful, please report it.)

 
9/6/2005 11:55:45 AMHardStream Software Development

2 words and one number: Wow! 5 Balls!!
(If this comment was disrespectful, please report it.)

 
9/15/2005 4:23:12 PMThomas Sturm

Hi. First of all, hats off for writing that monstrous thing ! I have a problem, though, when I try to write an Audio-CD it says "Cannot access a file", although all files are where they should be and non of them is write-protected or anything. Do you have an idea what that could be ?

Regards
Thomas Sturm
(If this comment was disrespectful, please report it.)

 
9/19/2005 7:11:36 PMSpector

Everytime I put a disc (blank or not) into one of my drives, the capacity is always returned as 0. I can't figure out why its doing this. I've tried it on both my laptops drives and also a external dvd-rw.
(If this comment was disrespectful, please report it.)

 
9/24/2005 5:58:02 PMMikeyV

I complied the project in your complete directory and could not determine how to select files, only a project that didn't seem documented anywhere.

I tried to complie the Data CD writer project and received the following;

cDataCD.CloseSession
Method or data member not found


mnuCloseLastSession_Click

If Not cDataCD.CloseLastSession(strDrvID) Then
Argument Not Optional

It appears a lot of work went into this submission but it would be nice if it were more intuitive or included some help information other than comlie the demos.

Mike


(If this comment was disrespectful, please report it.)

 
9/25/2005 1:54:01 PMLuisB

Wow awesome you guys i cant belive you came up with this fantastic ideas, great job you guys!!
(If this comment was disrespectful, please report it.)

 
10/4/2005 4:34:11 PM

Everything is already been said, so what i'm gonna say is "Keep it up,***** from me.
(If this comment was disrespectful, please report it.)

 
10/6/2005 12:28:14 PMAlex

How to find no of copies the cdr written
(If this comment was disrespectful, please report it.)

 
11/21/2005 12:06:27 PMsnowsoft

Great Work.
But I can not find method CloseLastSession

Thanks
(If this comment was disrespectful, please report it.)

 
11/23/2005 2:30:45 PMJohn Wunderlin

I found a workaround for the problem of windows not seeing files after being written with the demo program.

After writing, set all DLL objects=nothing.

Also in response to the close problem- just comment it out and add the closelastsession after the write function. Use the pop-up hints to figure out the parameters- they're self explanatory.
(If this comment was disrespectful, please report it.)

 
11/24/2005 10:59:34 PMWunder

I also can't get the cdrw function to work. It runs, returns true, but the CDRW disk is not erased. In fact after running that function, I can't erase it from Windows without restarting the computer. I suspect it's some sort of driver incompatibility.
(If this comment was disrespectful, please report it.)

 
12/2/2005 5:41:47 AMMike Douglas

Only 4.5 stars? Some drunken monkey gave less than 5 for this? Probably the same squirrel that votes 5* on chat "proggies". As always 5* from me and 6th when they expand the system to accomodate. Keep up the good work, amazing stuff from such a young programmer.
(If this comment was disrespectful, please report it.)

 
12/6/2005 8:29:04 PMBill K of Boston

Nice work --- have these Demos been tested under WinME OS?
Thanks,
Bill
(If this comment was disrespectful, please report it.)

 
12/31/2005 11:19:09 AMblockbuster

Great job and many tahnks for sharing it.
However I've got one problem :
trying to burn 3 directories on a CDROM
I always got 2 of 3 directories inaccessible with a message saying that this directory has either been removed or inaccessible.
Please help
(If this comment was disrespectful, please report it.)

 
1/11/2006 3:24:44 PMJeff T

Fantastic code and great examples. ***** all the way. I'm getting errors when initializing the MP3 encoder. Msg reads: "Failed to initialize encoder". Anyone else with this problem, or know why this might happen? Lame Enc/ASPI/etc... Thanks.
(If this comment was disrespectful, please report it.)

 
1/14/2006 11:43:27 AMItismeguys

it's fantastic, more support in it for dvd burning and the flames will destroy the other burning tools on the market..
Keep on burning...., your doing a lot of good vb programming.
I was astonished that one person had made this on his own. Keep on going....

(If this comment was disrespectful, please report it.)

 
3/4/2006 12:01:05 PMJain Johny

I am a newbie coder. I downloaded your code and compiled to make the FlamedLib.dll. I compiled the AudioCDWriter demo and made the exe. That worked fine. But when I copied the dll and exe to another computer, It is not working. I registered the dll using regsvr32 command in WinXP. Taht computer had VB6 installed. So I recompiled the dll. Then it worked fine. What it mean? Do we need to recompile on every computer to run on them? What is the error from my part?
Please reply ASAP. Thanks.
(If this comment was disrespectful, please report it.)

 
3/13/2006 6:43:21 AMOKroll

hi, greate job! but is there a way, to add files to iso-image, and give the file on the iso-image an other then the source file (cause of too long filenames). as like in nero? but anyway greate job!
(If this comment was disrespectful, please report it.)

 
3/13/2006 11:13:01 AMOKroll

sorry...
but is there a way, to add files to the iso-image, and give the file on the iso-image an other name then the original source-filename? i tried to modify the source, but after that, the burned image is corrupt...
help would be greate.
(If this comment was disrespectful, please report it.)

 
3/18/2006 8:11:09 PMNathan

WOW This is awsome man !!! Thanks for taking the time to write this out to help people to learn how to use cd writing awsome!!
(If this comment was disrespectful, please report it.)

 
5/23/2006 2:11:24 AMTravolta

thanx for the graet code, you have I have actually found the solution to the problem I had in adding cd writting to my app
(If this comment was disrespectful, please report it.)

 
5/23/2006 7:01:28 AMTravolta

I think Dave(8/1/2005 9:43:12 AM) had a point
(If this comment was disrespectful, please report it.)

 
6/18/2006 5:00:54 AMmat

i am a newby i cant compile the lib .am using vb 6 but it keeps asking 4 msdn? help please
(If this comment was disrespectful, please report it.)

 
6/19/2006 9:39:05 AMmat

anyone let me have a compiled version of the lib for win 98 please
(If this comment was disrespectful, please report it.)

 
6/25/2006 3:20:56 PMChris

Does anybody know why it won't add/write files bigger than 100mb to the ISO image in the "Data CD Writer" demo?
(If this comment was disrespectful, please report it.)

 
8/28/2006 5:23:29 AMthekurbster

gives me error "invalid medium" any help?
(If this comment was disrespectful, please report it.)

 
9/18/2006 7:50:05 AMSunil Kher

Great work. I have a question about it though. How do I get the software to recognize an external CD writer/drive? Please let me know, Thanx, Sunil.
(If this comment was disrespectful, please report it.)

 
9/18/2006 12:03:42 PMVincent

How Do I add files to a Data Project Or Audio???
(If this comment was disrespectful, please report it.)

 
10/18/2006 3:08:10 AMFrank

Why not working the multisession writings?
(If this comment was disrespectful, please report it.)

 
10/18/2006 5:16:26 PMAdrian

Great code. But I can get it to work with an USB external CD/DVD writer. Any suggestions?
(If this comment was disrespectful, please report it.)

 
10/19/2006 10:54:01 PMsoldier8514

to work with an USB external CD/DVD writer _ just uses frogaspi version of wnaspi.dll
(If this comment was disrespectful, please report it.)

 
10/22/2006 10:09:56 AMNathan

I think you put a lot of hard work into this, but I needed to let you know that when using the CD Data Burn process, it would not stop burning... It sat there for 25 minutes to burn 5 MB. Not sure whats up ? If anyone knows what is wrong let me know. I am on a Compaq Presario Notebook R3000 Windows XP.
(If this comment was disrespectful, please report it.)

 
10/23/2006 2:58:59 PMNathan

cDataCD.CloseSession gives error, saying it does not exist in the library for the function. I checked, it doesn't. How did all these other people get past the error, whats special about my case? This is the same DLL file I compiled from the FlamedLib VB Project?
(If this comment was disrespectful, please report it.)

 
1/1/2007 6:28:09 AMJames

your the best man... 5
(If this comment was disrespectful, please report it.)

 
1/2/2007 12:01:57 AMJames

I always gets this error "Invalid medium" when I tried to copy data in the cd.
What should I do to fix it?

Thanks in advance
(If this comment was disrespectful, please report it.)

 
1/4/2007 8:10:57 PMSpector

How do you write CD TEXT when burning Audio CDs? I looked through the main module "modMMC" and notice the enum "e_CDTextPacketTypes". I also searched through the entire project and noticed its not used anywhere. Is this used for what I'm trying to accomplish? It seems have all the available CD TEXT fields with the exception of individual track titles.
(If this comment was disrespectful, please report it.)

 
5/14/2007 10:18:12 AMJonathan

I am getting an ASPI driver error, and my ASPI driver is updated: Windows XP. What can i do to fix this problem>??????? Any help please.
(If this comment was disrespectful, please report it.)

 
6/11/2007 9:33:39 AMKris Bennett (i00 Productions)

when i try to use the Audio Grabber to rip to an mp3 i get an error message:

Failed to initialize encoder.

How can i get this working??

all up tho 5 globes
(If this comment was disrespectful, please report it.)

 
6/27/2007 10:54:44 PMguideX

I know this worked for Windows XP SP1 and below (I used to mess with it), but under Windows Vista nothing functions or works as expected. As for Window XP SP2, I think much of it didn't work either. Blaim Microsoft for breaking compatibility with the ASPI layer. Blargh!
(If this comment was disrespectful, please report it.)

 
9/2/2007 4:43:04 PMnight owl

hi all
i may be a little stuck i have just downloaded this code, created the flamedlid.dll file. and i cannot get my vb6 to register the dll so i can start using the code.

can someone please post were i may be going wrong

thanks in advance
(If this comment was disrespectful, please report it.)

 
3/22/2008 9:00:44 AMproblem

the code doesnot work with me
missing fl_manager class please help me
thanks
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.