Protection Error Debugger Detected
-
I am trying to debug a program that captures live video from my webcam. As soon as I try to initialize the filter group, a message box pop ups displaying "Protection error -debugger detected please close it down and restart". I think that some dll (maybe the webcam drivers?) has some kind of protection against reverse engineering. How can I know what is the dll causing this? Thanks. -- Miguel A. Vilariño Software Developer
-
I am trying to debug a program that captures live video from my webcam. As soon as I try to initialize the filter group, a message box pop ups displaying "Protection error -debugger detected please close it down and restart". I think that some dll (maybe the webcam drivers?) has some kind of protection against reverse engineering. How can I know what is the dll causing this? Thanks. -- Miguel A. Vilariño Software Developer
You could run a disassembler on them and see if they link to
IsDebuggerPresent
. That is an API your program can call at runtime to see if it is being debugged. -
I am trying to debug a program that captures live video from my webcam. As soon as I try to initialize the filter group, a message box pop ups displaying "Protection error -debugger detected please close it down and restart". I think that some dll (maybe the webcam drivers?) has some kind of protection against reverse engineering. How can I know what is the dll causing this? Thanks. -- Miguel A. Vilariño Software Developer
It's been a while since you posted this, but the problem is still around, see my post http://www.codeproject.com/Messages/3785972/Protection-error-Debugger-Detected-when-using-Medi.aspx[^]. I wondered whether you ever found a solution to it. I'd appreciate hearing about it if you did.
Dave