Sign in to follow this  
Programmer101

Using DirectShow

Recommended Posts

Hi everyone. I'm in a bit of a dilemma right now with DirectShow. I know that it's deprecated and Microsoft doesn't put it in the DXSDK anymore but I have to use it, I don't really have a choice. So I went into an older SDK that I had on hand (I think its the summer 2003 sdk) and I took added the directories to visual studio. The problem that I'm having is that every time I try to compile I get the following errors about a "winnt.h":
1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(222) : error C2146: syntax error : missing ';' before identifier 'PVOID64'
1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(222) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(5940) : error C2146: syntax error : missing ';' before identifier 'Buffer'
1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(5940) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(5940) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
I'm guessing that this is just a problem with compatibility between the old headers and the new compiler. There must be a way to use DirectShow though, what do I have to do in order to get it work? Any suggestions would be appreciated.

Share this post


Link to post
Share on other sites
DirectShow got moved from the DXSDK to the PSDK (now the 'Windows SDK') so it hasn't been outright deleted, even though its not under active development.

I would imagine you'll be fine with the latest-n-greatest DXSDK and Windows SDK.

hth
Jack

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this