CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2004
    Posts
    1

    Question Direct Show RenderFile(): Protection Error

    I am trying to run direct show to display media files and am using the RenderFile() function to build the filter graph. It normally works fine (Visual C++ vs6).

    However, when I run the programme in debug mode (F5) the programme stops when it EXECUTES the Renderfile() function and puts up a dialog called "Protection Error" and says "Debugger detected - please close it down and restart".

    I have never had this problem before. Does anyone have any idea what is causing it and how I can remove it?

    Thanks

    JRS

  2. #2
    Join Date
    Nov 2001
    Posts
    17

    Re: Direct Show RenderFile(): Protection Error

    Hi, I have the same problem, and i haven't found a solution yet. However if you change the option Debugger Type which is located in Project->Properties->Configuration Properties->Debugging to "Managed only", the error disappears but you can't debug the code. Therefore this is not a very good solution.

    i'll try to find out more about that.

    bye

  3. #3
    Join Date
    Nov 2001
    Posts
    17

    Re: Direct Show RenderFile(): Protection Error

    I have uninstalled Nero 7 and now it works. It seems that Nero installs filters with debug detect code, and without those filters you can debug. I hope this will help you.
    bye.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured