We have the same issue on our customer’s PC.

  • It was reported on Windows7 (WIndows update enabled) with a Logitech C310 and a Sweex webcam
  • Today I tested it with a newly installed Avast Free with default settings
  • The issue can be reproduced with the old AmCap.exe from the Windows DirectX9 samples (I can’t find exe on the net, its size is 6963 bytes and the timestamp is 2001.11.05)
    The preview doesn’t appear, and displays a dialog with error code 0.
  • But the most recent AmCap demo version works well: “http://noeld.com/dl.asp?filename=AMCapSetup.exe
  • The Delphi Jedi JvAviCapDemo that uses AviCap32.dll also produces the error: “https://github.com/project-jedi/jvcl/blob/master/jvcl/examples/JvAviCapture/JvAviCapDemo.dpr
    With Avast installed, the preview screen will be green.
  • I tried to disable all protection from Avast popup menu, but it doesn’ solve the problem.

So I recommend to our customers to uninstall Avast.