none
how do you remove filter spy so that you can use the debugger again? RRS feed

  • Question

  • Hi,

    I flowed the flowing article to so that I could look at the filter graph being used by another application.

    http://alax.info/blog/777/comment-page-1

    however I can no longer debug my direct show components with visual studio I have tried unregistering filter spy. Does any one have an idea how I can get the debugger to atache to the running graph again? 

    Wednesday, April 29, 2009 8:34 AM

Answers

  • HRESULT: 0x8002801c (2147647516)
    Name: TYPE_E_REGISTRYACCESS
    Description: n/a
    Severity code: Failed
    Facility Code: FACILITY_DISPATCH (2)
    Error Code: 0x801c (32796)

    You need to unregister from a CMD wiindow that is Run As Administrator.
      Also, make sure that you are not currently running a program that is using the DLL (and you may need to exit Visual Studio).
    My dshow site is http://tmhare.mvps.org.  Please use Vote As Helpful and Mark As Answer where appropriate.
    • Marked as answer by ceebmoj Friday, May 1, 2009 2:29 PM
    Friday, May 1, 2009 12:36 PM
    Moderator

All replies

  • regsvr32 /u FilterGraphSpy.dll from command line, then try to delete file (if it is still locked, reboot and delete after that). If this does not help, you have other issues in your system that result in your inability to debug.

    http://alax.info/blog/tag/directshow
    Wednesday, April 29, 2009 10:09 AM
  • I think Roman pointed out the main issues.  If you include your graph topology, we may be able to identify a filter that actively tries to prevent debugging.  This is common for commercial MPEG-2 decoders, for example.
    My dshow site is http://tmhare.mvps.org.  Please use Vote As Helpful and Mark As Answer where appropriate.
    Wednesday, April 29, 2009 1:12 PM
    Moderator
  • hi there,

    thanks for the help.

    I suspect that Roman is right. I had already tried to unregistered the graph spy using this method I get the flowing error message "DllUnregisterSever in FilterGraphSpy.dll failed return code 0x8002801c"

    The filter that I am trying to debug is a source filter I have written the only other things in the graph are a video renderer and a sound renderer however since I installed FilterGraphSpy I have not been able to debug it I suspect my pc needs a rebuild so I will try and get that done over the weakened so I don't lose time.


     

    Friday, May 1, 2009 9:17 AM
  • HRESULT: 0x8002801c (2147647516)
    Name: TYPE_E_REGISTRYACCESS
    Description: n/a
    Severity code: Failed
    Facility Code: FACILITY_DISPATCH (2)
    Error Code: 0x801c (32796)

    You need to unregister from a CMD wiindow that is Run As Administrator.
      Also, make sure that you are not currently running a program that is using the DLL (and you may need to exit Visual Studio).
    My dshow site is http://tmhare.mvps.org.  Please use Vote As Helpful and Mark As Answer where appropriate.
    • Marked as answer by ceebmoj Friday, May 1, 2009 2:29 PM
    Friday, May 1, 2009 12:36 PM
    Moderator