Hi zippo,
Your code looks okay.
Did you forget to include your dvdread library on the compile/link line?
HTH, --Eljay