Click to See Complete Forum and Search --> : Direct Show RenderFile(): Protection Error


JRS
May 21st, 2006, 07:55 AM
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

Andonic
March 13th, 2007, 06:53 AM
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

Andonic
March 13th, 2007, 07:52 AM
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.