Error message getting context menu

This is a discussion on Error message getting context menu within the Windows Programming forums, part of the Platform Specific Boards category; In a standard MFC app, in the File Open dialog, when I right click a file, I get a message ...

  1. #1
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401

    Error message getting context menu

    In a standard MFC app, in the File Open dialog, when I right click a file, I get a message saying:
    "Protection Error: Debugger detected - please close it down and restart!"
    I only get this message when I run the application from Visual Studio. If I just execute the app from Explorer, it works fine. How can I remove this error?
    benforbes@optusnet.com.au
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

  2. #2
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    Further reading and research has told me that certain processes detect debuggers and terminate in order to stop code being reverse engineered. I find it odd that Visual Studio creates an application that cannot be run fully in its own IDE. Is there anything I can do here?
    benforbes@optusnet.com.au
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

  3. #3
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    It is likely to be a dynamic context menu shell extension that is objecting to the presence of the debugger. What software inserts entries into your shell context menus? A quick search shows that DVDXCopy or DivX are potential culprits.

  4. #4
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    It appears I only have WinRAR in the context menus. I guess this isn't really a serious problem, but I just can't find any official response to this problem, ie, from Microsoft. Any more ideas are appreciated.
    benforbes@optusnet.com.au
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 03-05-2009, 10:25 AM
  2. Another syntax error
    By caldeira in forum C Programming
    Replies: 31
    Last Post: 09-05-2008, 02:01 AM
  3. Context Menu cursor problem
    By dWorkVan in forum Windows Programming
    Replies: 4
    Last Post: 07-14-2003, 12:42 PM
  4. Double click for context menu?
    By mepaco in forum Windows Programming
    Replies: 1
    Last Post: 12-19-2002, 06:17 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21