471,319 Members | 2,689 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,319 software developers and data experts.

Detect CD or DVD (which is on my drive)

Hi, I'm trying to build an aplication to manage my discs (CD/DVD) and
i'm trying also to add an automatic info colector. I can access the
volume label, the size an even the date of some recorded discs... but I
can't determine whic kind of disc (CD/DVD) is on my drive.
Can anybody help me?

Thank you all in advance,

Joćo Carias

Jan 29 '06 #1
4 5052
Hello Quina,

I guess you need to use IMAPI.DLL, used to write disks.

Q> Hi, I'm trying to build an aplication to manage my discs (CD/DVD) and
Q> i'm trying also to add an automatic info colector. I can access the
Q> volume label, the size an even the date of some recorded discs... but
Q> I
Q> can't determine whic kind of disc (CD/DVD) is on my drive.
Q> Can anybody help me?
Q> Thank you all in advance,
Q>
Q> Joćo Carias
Q>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/members/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Jan 30 '06 #2
Thanks Michael. Can you tell where can I find IMAPI.DLL and some basic
hints in how to use it?

Joćo Carias

Jan 30 '06 #3
Hello Quina,

I didn't use it for a long time
I suggest to look there http://search.microsoft.com/results....=en-US&q=IMAPI
there were several samples how to use it

Q> Thanks Michael. Can you tell where can I find IMAPI.DLL and some
Q> basic hints in how to use it?

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/members/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Jan 31 '06 #4

Quina wrote:
Hi, I'm trying to build an aplication to manage my discs (CD/DVD) and
i'm trying also to add an automatic info colector. I can access the
volume label, the size an even the date of some recorded discs... but I
can't determine whic kind of disc (CD/DVD) is on my drive.
Can anybody help me?


Check out:
http://msdn.microsoft.com/library/de...eiocontrol.asp

You will need to translate to C#, but it isn't that hard.

Matt

Jan 31 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Stephane Belzile | last post: by
3 posts views Thread by M | last post: by
8 posts views Thread by Hayato Iriumi | last post: by
9 posts views Thread by Paul Steele | last post: by
3 posts views Thread by ladal | last post: by
1 post views Thread by Steve Marshall | last post: by
reply views Thread by D2 | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.