   DShow Direct Show Library Problems
  Hello,I'm a newbie to Direct Show and I am really confused what is going on here.  I have a really simple program:#include <dshow.h>int main( void ){   return 0;}I'm using Microsoft Visual Studio 2005 my Project Properties go as such:Project Properties -> Config Properties -> C\C++ -> General -> Additional Include Directories = C:\DXSDK\IncludeProject Properties -> Config Properties -> Linker -> Input = Strmiids.lib Quartz.libI try to compile and I get the following errors: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-int1>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-int1>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-intCan anybody help me?!?!   
  Update your Platform SDK and put its header and library folders at the beginning of the search list in VS.NET's Tools / Options dialog.   ;Quote:Original post by legalizeUpdate your Platform SDK and put its header and library folders at the beginning of the search list in VS.NET's Tools / Options dialog.I have Platform SDK for WIndows Server 2003 R2 (which seems to be the latest version)... I actually corrected path for the Additional Include Directories to the Platform SDK one and now I'm getting a different error.I'm using Microsoft Visual Studio 2005 my Project Properties go as such:Project Properties -> Config Properties -> C\C++ -> General -> Additional Include Directories = C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\IncludeProject Properties -> Config Properties -> Linker -> Input = Strmiids.libIn Tools->Options->Projects and Solutions->VC++ Directiroes the first directory is the PSDK one: $(VCInstallDir)PlatformSDK\binI try to compile and I get the following error:1>c:\program files\microsoft platform sdk for windows server 2003 r2\include\dshow.h(36) : fatal error C1083: Cannot open include file: 'ddraw.h': No such file or directory[Edited by - kgantchev on September 12, 2007 9:18:04 AM];  This is still symptomatic of having the wrong include search order.You want:1. Platform SDK includes and libs2. DirectX SDK includes and libs3. Visual Studio standard includes and libsBy setting "additional include directories", you aren't changing the search order through Tools / Options as I suggested.Also, the "bin" folders are not where includes and libraries are obtained; includes come from the include folder and libraries come from the lib folder (sometimes libraries are subdivided into x86 and 64-bit libraries, so you may have to specify a subdirectory of lib).   ;  OK, I finally fixed my problems, there was another post named "cannot open file 'strmiids.lib'"It also helped, it turns out that I didn't set up my project correctly! DOH!   ;Quote:Original post by legalizeThis is still symptomatic of having the wrong include search order.You want:1. Platform SDK includes and libs2. DirectX SDK includes and libs3. Visual Studio standard includes and libsBy setting "additional include directories", you aren't changing the search order through Tools / Options as I suggested.Also, the "bin" folders are not where includes and libraries are obtained; includes come from the include folder and libraries come from the lib folder (sometimes libraries are subdivided into x86 and 64-bit libraries, so you may have to specify a subdirectory of lib).10-4, thank you Richard... yes, you were right :)As I mentioned I finally got it to work by setting the Tools/Options search order and I did it for Executables/Includes/Libraries.  Now I'm ready to program! HAHAHAHA :)   