Original Post
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": 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.
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