locked
DVDSample Protection Error RRS feed

  • Question

  • When debugging either the DVDSample or PlayDVD sample applications,

    I get the infamous message:

     

    Protection Error:

    Debugger detected,-please close it down and restart!

     

    I have both Nero and InterVideo decoder filters installed:

    // C:\Program Files\InterVideo\Common\Bin\iviaudio.ax

    // C:\Program Files\InterVideo\Common\Bin\IVIVIDEO.ax

    // C:\Program Files\Common Files\Ahead\DSFilter\NeAudio.ax

    // C:\Program Files\Common Files\Ahead\DSFilter\NeVideo.ax

     

    Both the Debug and Release versions of the applications run correctly

    with either set of decoder filters outside of the debugger.

     

    The Nero filters appear to generate the "Protection Error".

    If the Nero filters are disabled then I get:

    hr = m_pIDvdGB->RenderDvdVideoVolume(pszwDiscPath, m_dwRenderFlags, &buildStatus);

    if (FAILED(hr)) // total failure

    {

    // If there is no DVD decoder, give a user-friendly message

    }

    When attempting to use the InterVideo filter set!

     

    ??? What filter set do I need to run the DVD sample applications inside the debugger ???

     

    A free download would be nice, as I have already bought the Nero and InterVideo filters and am a bit frustrated.

     

    Thanks,

    Dennis

    Sunday, December 2, 2007 6:19 PM

Answers

  • Dennis,

     

    It appears that one of the filters is detecting that a debugger is attached and generates the error you are seeing. This isn't a debugger issue. Take a look at the filter code if you have it, to see why it is doing this. If not, ask the owners of the decoder filters about this issue. HTH.

     

    Azeem Khan

    VS Debugger. 

     

    Monday, December 3, 2007 6:20 PM
  • Dennis,

     

    You need to contact the folks that develop the Nero & Intervideo decoder filters. They have logic in their code that detects that a debugger is attached and exit. It appears that they do not want folks to debug the filters.

     

    If you want to find filters that work with samples mentioned above then try a forum that is more appropriate e.g. one that deals with video filters etc.

     

    HTH.

     

    Azeem Khan

    VS Debugger.

     

    Monday, December 3, 2007 7:06 PM
  • Dear Folks,

     

    Alessandro has provided a solution:

    http://groups.google.com/group/microsoft.public.win32.programmer.directx.video/browse_thread/thread/4d92c3111de7ce32#9ceb3705b6e03bb0

     

    See his comment about "well behaved decoders".

     

    Dennis

     

    Tuesday, December 4, 2007 8:03 AM

All replies

  • Dennis,

     

    It appears that one of the filters is detecting that a debugger is attached and generates the error you are seeing. This isn't a debugger issue. Take a look at the filter code if you have it, to see why it is doing this. If not, ask the owners of the decoder filters about this issue. HTH.

     

    Azeem Khan

    VS Debugger. 

     

    Monday, December 3, 2007 6:20 PM
  • Dear Azeem,

     

    Yes, this is a filter issue.

    I have purchased both Nero and InterVideo decoder filters,

    and neither work with the debugger!

     

    In particular, can YOU run the DVDSample or PlayDVD sample applications under the debugger?

    If so, where did you get the filters?


    ??? The important question is where can I get a filter set

    that WILL run the PlayDVD and DVDSample applications

    under the Visual Studio debugger ???

     

    Sincerly,

    Dennis

     

    Monday, December 3, 2007 6:49 PM
  • Dennis,

     

    You need to contact the folks that develop the Nero & Intervideo decoder filters. They have logic in their code that detects that a debugger is attached and exit. It appears that they do not want folks to debug the filters.

     

    If you want to find filters that work with samples mentioned above then try a forum that is more appropriate e.g. one that deals with video filters etc.

     

    HTH.

     

    Azeem Khan

    VS Debugger.

     

    Monday, December 3, 2007 7:06 PM
  • Dear Azeem,

     

    You have not answered the question:

     

    "...can YOU run the DVDSample or PlayDVD sample applications under the debugger?"

     

    If you cannot run the Microsoft SDK samples under the debugger, then this IS a debugger issue.

     

    Yes, I am also trying other forums.

     

    The question remains:

     

    Where can I obtain a Visual Studio debugger compatible MPEG2 DVD decoder filter???

     

    Dennis

     

    Monday, December 3, 2007 9:36 PM
  • Dear Folks,

     

    Alessandro has provided a solution:

    http://groups.google.com/group/microsoft.public.win32.programmer.directx.video/browse_thread/thread/4d92c3111de7ce32#9ceb3705b6e03bb0

     

    See his comment about "well behaved decoders".

     

    Dennis

     

    Tuesday, December 4, 2007 8:03 AM