Different about class MediaCapture on version Windows 8.1 and 8.0 RRS feed

  • Question

  • Hi greate master:

            On Windous 8.1 version, the MediaCapture is inherit IDisposeable and added a Methods Dispose to release the device resources. It's easy to let device free if app goes to background like click home key. but on Windous 8.0 version, MediaCapture is no inherit.

            when i run my developing app an click home key to let it on background. after run system camera, it will popup error message "The camera is currently in use by another app." 

    Who can tell me how to Dispose camera device on 8.0.

    /*Dispose [C#, VB] Performs tasks associated with freeing, releasing, or resetting unmanaged resources.*/



    Tuesday, August 20, 2013 4:16 AM


  • Hello,

    This is the C++ forum IDisposeable is only useable from .net. are you looking for .net or C++ help?

    That said it is still not clear what you are asking. What do you mean by "system camera"? What pops up an error message?


    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    • Marked as answer by abbeyant Monday, August 26, 2013 8:49 AM
    Tuesday, August 20, 2013 8:22 PM

All replies