Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Protection Error Debugger Detected

Protection Error Debugger Detected

Scheduled Pinned Locked Moved C / C++ / MFC
questiondebugginghelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mav octaval
    wrote on last edited by
    #1

    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

    B D 2 Replies Last reply
    0
    • M mav octaval

      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

      B Offline
      B Offline
      Blake Miller
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • M mav octaval

        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

        D Offline
        D Offline
        Dave Midgley
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups