Advertisement

08.28.2007 at 07:16AM PDT, ID: 22791531
[x]
Attachment Details

DirectShow Redistributable issue, program crashes

Asked by Daeljan in DirectX Graphics & Game Programming, Windows Programming, Multimedia Programming

Tags: ,

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.FileLoadException

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
[+][-]08.28.2007 at 07:41AM PDT, ID: 19783462

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: DirectX Graphics & Game Programming, Windows Programming, Multimedia Programming
Tags: directshow, webcam
Sign Up Now!
Solution Provided By: jkr
Participating Experts: 2
Solution Grade: A
 
 
[+][-]08.28.2007 at 11:58PM PDT, ID: 19789213

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]08.29.2007 at 12:21AM PDT, ID: 19789283

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.29.2007 at 12:39AM PDT, ID: 19789343

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.29.2007 at 02:05AM PDT, ID: 19789652

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.29.2007 at 03:24AM PDT, ID: 19789891

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.29.2007 at 04:35AM PDT, ID: 19790185

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628