I have a working application that uses DirectShow to manipulate a webcam.
The software module that directly uses DirectShow is written in C++ (managed dll). The rest of the application is .NET, written in C#. I am not using any 3rd party wrapper for DirectShow or DirectX, and my software is based on examples that come with the Platform SDK for Windows Server 2003 R2 (this is the correct release for Windows XP - the name is just misleading).
When I moved it from a development machine to a clean workstation, I installed software from the folder:
C:\Program Files\Microsoft DirectX SDK (June 2007)\Redist
...and similarly followed directions to install the redist from the patform SDK (this involves having to download from Microsoft to the workstation).
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\redist
So, a couple of issues really:
*) Instead of having to download from the MS website on the client machine, I would prefer to include the actual redist files, but I can't find them available for download anywhere.
*) After installing the redist for DirectX and DirectShow, the application still doesn't run! It crashes with the exception System.IO.FileLoadExceptio
n
This would indicate that there is a component missing somewhere, or perhaps there is a path problem.
If I then install VS 2005 on the workstation, compile and run the software in order to debug it, then it all works!
I'm new to DirectShow and DirectX, and I'm assuming that the solution is simple as the software is written and proven to work in the development environment...
Many thanks.
Start Free Trial