After installed DirectX SDK, you want to configure DirectX SDK's include and lib directory into the VC's system directory and place it before the standard VC directory, to ensure that the compiler gets the latest version of the source file.
The configuration method is to open the VC, select Menu Tool, Options, Directories, and select include files in the show directories for the pop-up dialog box, add the configuration as follows (assuming DirectX SDK is installed in the D: / DXSDK directory):
D: / dxsdk / include
D: / DXSDK / Samples / C / DirectShow / BaseClasses
D: / DXSDK / Samples / C / Common / Include
Then select Library Files in Show Directories for, add configuration as follows:
D: / DXSDK / LIB
D: / DXSDK / Samples / C / DirectShow / BaseClasses / Debug
D: / DXSDK / Samples / C / DirectShow / BaseClassed / Release