HowTo Burn CD or DVD?

G

Guest

Hello Developers,
I am developing an application using Visual C++ .NET Windows Forms. I would
like to add CD or DVD burning functionality into my application. I want to
burn a data cd or dvd. I could not find any documentation about burning a cd
or dvd. Things that I found do not have enough explanations. I am requesting
your guidance.
Thank you very much in advance.
--
~~~~~~~~~~~~~~~~~~~
İyi Çalışmalar
Alper AKÇAYÖZ (Bil Muh)

Wish You Good Work
Alper AKCAYOZ (Bil Muh)
 
W

William DePalo [MVP VC++]

Alper AKCAYOZ said:
I am developing an application using Visual C++ .NET Windows Forms. I
would
like to add CD or DVD burning functionality into my application. I want to
burn a data cd or dvd. I could not find any documentation about burning a
cd
or dvd. Things that I found do not have enough explanations. I am
requesting
your guidance.

Win32 provides the Image Mastering API (IMAPI) for burning CDs. AFAIK, it is
available on XP and later. You could use Platform Invoke (aka P/Invoke) to
call the functions of the API from a .Net application.

FWIW, I did a quick googgle for

IMAPI ".net"

and this is the link that came up first

http://www.vbaccelerator.com/home/NET/Code/Libraries/Writing_CDs/IMAPI/article.asp

Regards,
Will
 
L

Lloyd Dupont

Win32 provides the Image Mastering API (IMAPI) for burning CDs. AFAIK, it
is available on XP and later. You could use Platform Invoke (aka P/Invoke)
to call the functions of the API from a .Net application.
BTW, why bother doing C++ if you bother (on top of that) doing pinvoke!

I would advice either:
- code in C# and pinvoke the relevant function
- code in C++, import the header, link with the lib and call starint into
the C function!

I will take this opportunity to ask you William...
why do you suggest that?
What's the point of bothering going through the error prone and lengthy
process of redefining the method while you could just call them?
 
H

Hasan O

Hi Alper,
we have gruduated from same uni. We met at TEKMER. How is going on ? It
would be nice to keep in touch.
hozavalsiz#gmail#
By the way change your signature :) to English :Com. Eng
 
G

Guest

Thank you very much for your responses. I would like to use my application to
work on Win 2000 and XP. How could it be possible to develop CD burning
function at Win 2K?

--
~~~~~~~~~~~~~~~~~~~
İyi Çalışmalar
Alper AKÇAYÖZ (Bil Muh)

Wish You Good Work
Alper AKCAYOZ (Bil Muh)
 
W

William DePalo [MVP VC++]

Lloyd Dupont said:
I will take this opportunity to ask you William...
why do you suggest that?

Why would I do that? That's easy, so I can use _my_ favored language.

You are of course free to choose whatever language you like.
What's the point of bothering going through the error prone and lengthy
process of redefining the method while you could just call them?

Mostly because the OP asked about a .Net solution.

Regards,
Will
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top