do you have the .net framework?
http://www.microsoft.com/d
Main Topics
Browse All TopicsI 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
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.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
do you have the .net framework?
http://www.microsoft.com/d
A bit more information:
When I said that the application was crashing, this was the debug build. I have since tried a release build and this works ok on the clean machine. I don't know if there is something different about VS2005 with regard to debug builds, but in the past it was possible to run them outside of the development environment.
So for the moment, there is a light at the end of the tunnel although it's a murky one. And the DirectShow Redist files are still a mystery...
Even more info:
Now that I have had it working on a clean machine, I tried installing it on another clean machine, but only installing the DirectX redist, and it worked.
So, can anyone explain to me:
What the Platform SDK redist is for?
Why was DirectShow moved to the Platform SDK, but the redist stays in the DirectX one?
It doesn't seem very well organised to me...
I'm still non the wiser as to why the debug build didn't work out. I'm splitting the points btw as you both help in pointing me in the right direction.
I am just a small pebble in this programming arena but I do read a lot.
Directx has many secrets, especially since the conception of xpsp2, and now VIISTA all new video cards have their own directx and if not installed correctly can cause major problems with windows versions of directx.
Its very confusing to say the least.
Maybe part of MS products to control everything. If you have peeked at Vista and the server experience user experience you'll get an idea of the security changes.
Java/ activx/ flash /scripting / anything to do with the internet since MS does own all the ip addresses of A is it?
Its all about keeping the piracy under control. And the hackers out.
What the Platform SDK redist is for?
Platform SDK Redistributable: Microsoft Agent 2
http://nytimes.download.co
Why was DirectShow moved to the Platform SDK
The DirectX SDK
As of August 2007 the DirectX SDK contains the following components:
http://www.toymaker.info/G
Update: DirectShow is no longer a part of the DirectX SDK it has now moved into the Platform SDK.
http://www.toymaker.info/G
DirectShow
From Wikipedia, the free encyclopedia
http://en.wikipedia.org/wi
Thank you I think you were very generous awarding points to me for so little effort.
best wishes
merete
Business Accounts
Answer for Membership
by: jkrPosted on 2007-08-28 at 07:41:39ID: 19783462
You will find the setup files at http://www.microsoft.com/d ownloads/d etails.asp x? FamilyID =d2e2cae1- 6aef-4a40- bd00-f0fb2 a71e99f&Di splayLang= en ("DirectX End-User Runtimes (April 2007)") or http://www.microsoft.com/d ownloads/d etails.asp x? familyid =9226A611- 62FE-4F61- ABA1-91418 5249413&di splaylang= en ("DirectX 9.0c Redistributable for Software Developers - Multilingual")