Home > General > Sample grabber not found error on Windows Server 2008 or later

Sample grabber not found error on Windows Server 2008 or later

Some Windows Server installations do not include qedit.dll file that contains DirectShow Sample Grabber filter, required for some parts of our SDK's.

Workaround:
  1. Copy qedit.dll from client version of Windows, System32 and SysWOW64 folder to correcsponding folders of server OS.
  2. Register DLL files using regsvr32 tool (regsvr32 qedit.dll), with administrative rights.
  3. Run .reg file that contains the following code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{083863F1-70DE-11D0-BD40-00A0C911CE86}\Instance\{C1F400A0-3F08-11D3-9F0B-006008039E37}]
"FriendlyName"="SampleGrabber"
"FilterData"=hex:02,00,00,00,00,00,20,00,02,00,00,00,00,00,00,00,30,70,69,33,\
  00,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,30,74,79,33,00,\
  00,00,00,60,00,00,00,60,00,00,00,31,70,69,33,08,00,00,00,00,00,00,00,01,00,\
  00,00,00,00,00,00,00,00,00,00,30,74,79,33,00,00,00,00,60,00,00,00,60,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"CLSID"="{C1F400A0-3F08-11D3-9F0B-006008039E37}"

[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{083863F1-70DE-11D0-BD40-00A0C911CE86}\Instance\{C1F400A0-3F08-11D3-9F0B-006008039E37}]
"FriendlyName"="SampleGrabber"
"FilterData"=hex:02,00,00,00,00,00,20,00,02,00,00,00,00,00,00,00,30,70,69,33,\
  00,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,30,74,79,33,00,\
  00,00,00,60,00,00,00,60,00,00,00,31,70,69,33,08,00,00,00,00,00,00,00,01,00,\
  00,00,00,00,00,00,00,00,00,00,30,74,79,33,00,00,00,00,60,00,00,00,60,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"CLSID"="{C1F400A0-3F08-11D3-9F0B-006008039E37}"

[HKEY_CLASSES_ROOT\CLSID\{C1F400A0-3F08-11D3-9F0B-006008039E37}]
@="Sample Grabber"

[HKEY_CLASSES_ROOT\CLSID\{C1F400A0-3F08-11D3-9F0B-006008039E37}\InprocServer32]
@="C:\\Windows\\System32\\qedit.dll"
"ThreadingModel"="Both"

[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{C1F400A0-3F08-11D3-9F0B-006008039E37}]
@="Sample Grabber"

[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{C1F400A0-3F08-11D3-9F0B-006008039E37}\InprocServer32]
@="C:\\Windows\\SysWOW64\\qedit.dll"
"ThreadingModel"="Both"