Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8477755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T18:33:05+00:00 2026-06-10T18:33:05+00:00

I have a shell extension that I build in release mode, I also generate

  • 0

I have a shell extension that I build in release mode, I also generate debug symbols and .pdb files. I attach the visual studio program that builds the context menu extension .dll file to the running explorer.exe process, I can see in the output window while the program is attached explorer process events, like the following:

'explorer.exe': Unloaded 'C:\Windows\System32\mydocs.dll'
'explorer.exe': Unloaded 'C:\Windows\System32\sendmail.dll'
'explorer.exe': Unloaded 'C:\Windows\System32\zipfldr.dll'
The thread 'Win32 Thread' (0x16d8) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x1650) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x1070) has exited with code 0 (0x0).

But it never reaches the breakpoints that I have set in the function Initialize (form the class that inherits and implements the IshellExtInit class). When I do a right click on a file, the right click menu initialises with the custom context menu and performs desired actions, but no breakpoint hitting involved!!
I want to know how can I debug because I’m trying to register the context menu for the recycle bin and it doesn’t work, I want to see what’s happening with the code.
The code for registration with the Recycle Bin can be found on this post:
recycle bin registration

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T18:33:07+00:00Added an answer on June 10, 2026 at 6:33 pm

    Try manually registering your debug build using regsvr32, e.g.

    regsvr32 mydocs.dll
    

    You may have to kill Explorer to get it to recognize the registry changes.

    If that doesn’t work you could try throwing up a message box in your extension to see if that’ll stop Explorer long enough for you to debug into your extension.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a shell extension that uses IThumbnailProvider and IInitializeWithStream interfaces to generate thumbnail
Have a shell script that reads the files in a particular directory. #!/bin/bash for
I have found a useful shell script that shows all files in a directory
Hello I'm currently running Visual Studio 2010 and have a context menu shell extension
I have a Copy Hook Handler shell extension that I'm trying to install on
I have a shell extension made in .NET that creates folders (think of it
I have a simple shell script that starts chromium in kiosk mode on a
I am talking about windows shell extensions. I have a shell extension which could
In my application I have to send a List<MenuItem> to my shell extension in
I have a shell script file (run.sh) that contains the following: #!/bin/bash %JAVA_HOME%/bin/java -jar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.