Compiling DVAPP in Visual C++ Studio 2005 - video capture source code

Owensm

Compiling DVAPP in Visual C++ Studio 2005 - video capture source code

by Owensm » Thu, 26 Nov 2009 07:42:13

I just installed Visual Studio C++ 2005. Nice that this is free. I have been able to follow other examples and tutorials to get example programs running

One of the projects i am struggling with is reusing the DVAPP sample found in Microsoft Platform SDK for Windows Server 2003 SP1.

DVAPP found in the samples:

C:\Program Files\Microsoft Platform SDK\Samples\Multimedia\DirectShow\Capture\DVApp

I have been unable to compile this code. What am i doing wrong

first error is

c:\program files\microsoft platform sdk\samples\multimedia\directshow\capture\dvapp\cdvgraph.h(14) : fatal error C1083: Cannot open include file: 'streams.h': No such file or directory

I did a search and found no streams.h file at all. Hope there is something simple i am missing here.

All i really need is an example source code that works with Visual Studio C++. Any advice is welcome.

Regards

Mike




Bowljoma

Compiling DVAPP in Visual C++ Studio 2005 - video capture source code

by Bowljoma » Sat, 28 Nov 2009 08:43:14

Under the project properties, you need to add additional include paths to point to
DX90SDK\Samples\C++\DirectShow\BaseClasses\
where streams.h resides or where ever it is on your system. Run a seach for it, then point C++ to it.
I imagine the next error will be some missing dll. search for it then link to it. You may need to download the platform SDK.


Bowljoma

Compiling DVAPP in Visual C++ Studio 2005 - video capture source code

by Bowljoma » Mon, 30 Nov 2009 09:44:15

Sorry ,I guess I got streams.h out of the old DXsdk before they put it into the platformSDK. I think its still available on the net somewhere.