fatal error: Datei "d3d9.lib," kann nicht geöffnet werden.
"d3d9.lib; d3dx9.lib" instead just "d3d9.lib d3d9x.lib" (mit ";" getrennt ja?)
Just use blank as separator for libs.
As you can see the linker interprets "," as part of the library-name.
Include-Directories (in the C++-Settings) are divided by semicolon though

Since the compiler seems to find the dx9-headers, I believe the sdk-installer already added all relevant paths to the vs-settings.
If not you still have to set the dx9-lib-path for the linker.
Either set it for this project only:
In Projekteigenschaften->Konfigurationseigenschaften->Linker->Allgemein: "Zusaetzliche Bibliotheksverzeichnisse" add WhereeverYouInstalledYourSDK\lib\x86
Or globally:
In Extras->Optionen select in the tree on the left "Projekte und Projektmappen->VC++-Verzeichnisse", on the right "Verzeichnisse anzeigen fuer: Bibliotheksdateien" and add the same path.