AudioCDReader


#1

Function getAvailableCDNames () in AudioCDReader class does not work in user mode on windows.

i am using windows xp.


#2

Hmm - that’s interesting. I’ve not looked at the CD stuff for a long time. Too busy to try it right now, but is it failing in the CreateFile call?


#3

It fails in FindCDDevices (CDDeviceInfo* const list,int maxItems) as this call returns zero items.


#4

Well ok, but that’s not very helpful - it must be failing at some point inside there, perhaps during the CreateFile call?


#5

It fails in CreateSCSIDeviceHandle where it is not able to create file for that drive. i checked GetLastError() which return error number 5 which is access denied.


#6

Right. If access is denied in user mode, I wonder how on earth it’s possible to read from the CD?

I’ll look into this when I get time, but feel free to throw clues at me if you find any!


#7