Open CoRx74 opened 9 years ago
Would you have the content of the exception (failed HRESULT, callstack, etc.)? Is there something special about your setup? VS2015/Win10 maybe? I only tested on VS2013/Win8.1 so far.
Hello ! Sorry for the late reply, I wasn't at the office before. For the setup, I'm running VS2013 on Win8.1. The HRESULT is : -2005530516 And here's a picture of the callstack (appTimbrageWPF is the name of my solution, and bStartPreview is the button to start the preview) There is no InnerException !
If you need anything else, feel free to ask me !
The error code is D3DERR_INVALIDCALL. It looks like the code in the project is expecting some hardware graphics capabilities which are not available on your machine. To narrow down the issue you can get a better callstack by setting up symbols: http://mmaitre314.github.io/2015/05/24/personal-pdb-symbol-server.html It's possible the code can run on your machine but it needs to be updated with a fallback code path.
Ok thank you, I'll try that !
Hello ! I'm trying to get your MediaCaptureWPF working, for two days long now. I've downloaded your source code, build the libraries, and launched it, but I get a "System.Runtime.InteropServices.COMException" in mscorlib.dll... I tried to add the package in my project where I need it, but the same exception is thrown. I get this exception when the program tries to create a new 'CapturePreviewNative' object, in the CapturePreview.cs. Hope you can help ! Thanks in advance ! ;)