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