Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. Error: HResult E_FAIL returned from COM DEVICE

Error: HResult E_FAIL returned from COM DEVICE

Scheduled Pinned Locked Moved COM
comgraphicsgame-devhelp
2 Posts 2 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kjsl2k9
    wrote on last edited by
    #1

    I had used the DirectShowLib 2005 and DirectX libraries for saving videos in WMV format.The Format is wmv and the video standard is PAL_B. In my application I was able to see the preview of the Video but when saving an error comes "HResult E_FAIL returned from COM DEVICE" on mediaController.Run().Why is this error coming any idea will be very beneficial. Thanks

    J 1 Reply Last reply
    0
    • K kjsl2k9

      I had used the DirectShowLib 2005 and DirectX libraries for saving videos in WMV format.The Format is wmv and the video standard is PAL_B. In my application I was able to see the preview of the Video but when saving an error comes "HResult E_FAIL returned from COM DEVICE" on mediaController.Run().Why is this error coming any idea will be very beneficial. Thanks

      J Offline
      J Offline
      Jonathan Davies
      wrote on last edited by
      #2

      I don't know why you get E_FAIL but have you tried getting more information, if it's available, using the COM mechanism IErrorInfo? HRESULT hr; CComPtr spErrorInfo; hr = GetErrorInfo(0, &spErrorInfo);

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups