Because DirectShow Spy is often a troubleshooting tool, one of its use scenarios is its being a drop-in module to quickly install on a system of interest in order to connect to graphs for troubleshooting purposes, such as to check topology and media types.
Its installation requires COM registration, and over time it changed gradually from simple to more and more complex step. Why? In Windows XP one had to open command prompt and
regsvr32. With Vista’s UAC one needs a prompt, with privilege elevation, which opens typically in wrong directory, then UAC prompt. A relatively easy step became annoying multi-step operation. Then proxy/stub classes were moved into Windows SDK DLL…
Things are getting back to be easier with DirectShow Spy. It is given a special property sheet right there withing the DLL, to take care of all the important things:
- checks registration status
- buttons to Unregister/Register
- per-user registration (not recommended though due to system wide class hooking)
- automatically takes care of UAC prompt
- place Windows SDK
proppage.dllinto the same directory near spy, and additional property page will help you to register this additional dependency
To invoke registration UI, start:
from command line, or just have a
.BAT file ready to do it for you.