+ Reply to Thread
Results 1 to 2 of 2

Thread: Right click Context menu does not open My Computer Manage dialog on Window 7

  1. #1
    Junior Member
    Join Date
    Dec 2011
    Posts
    3

    Right click Context menu does not open My Computer Manage dialog on Window 7

    All,

    I had a COM DLL that registers to Windows right click menu. This worked fine in XP and 2003 but in Win7 it has odd behavior. When I right click on Computer->Manage it does noting. Seems like my COM DLL is interfering the command. After I unregister the COM DLL the Manage dialog opens just fine. So something changed in Windows 7 and I was hoping anyone can help me with this?

  2. #2
    Junior Member
    Join Date
    Dec 2011
    Posts
    7
    In your InvokeCommand function add return E_INVALIDARG.

    Example:

    Code:
    STDMETHODIMP TShellExt::InvokeCommand(LPCMINVOKECOMMANDINFO lpici)
    {
        
    	if ( HIWORD( lpici->lpVerb ) )
             return E_INVALIDARG;      // to fix the computer->manage issue 
     .
     .
     .
    }

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts