[Please do not mail me a copy of your followup]
"Calab" <myspam@csd.ca> spake the secret code
<u5mVnPqdIHA.4712@TK2MSFTNGP04.phx.gbl> thusly:
>What do I need to do to get the DirectX9 sample code, found in the DX SDK,
>to work with Visual Studio 2008?
1) Install the Nov 20007 DirectX SDK
2) Set the include path to:
- DirectX SDK
- Platform SDK
- Visual Studio 2008
You may or may not need to get the Platform SDK (now called the
Windows SDK, IIRC) because VS.NET 2008 is so new.

Signature
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
<http://www.xmission.com/~legalize/book/download/index.html>
Legalize Adulthood! <http://blogs.xmission.com/legalize/>
Calab - 24 Feb 2008 09:25 GMT
> [Please do not mail me a copy of your followup]
>
[quoted text clipped - 9 lines]
> - Platform SDK
> - Visual Studio 2008
Done... but still getting errors. Now it's "CVT1100: duplicate resource" and
"LNK1123: failure during conversion to COFF"
:(
> You may or may not need to get the Platform SDK (now called the
> Windows SDK, IIRC) because VS.NET 2008 is so new.
Windows SDK v6.0a and DirectX SDK (Nov 2007) both installed.
I appreciate the help. I just wish this didn't need to be so complicated. I
remember (and miss) the days of QBasic 4.0 compiling to machine code. I
never had nearly this much trouble coding 6809 assember on my old TRS-80.
Richard - 24 Feb 2008 20:41 GMT
[Please do not mail me a copy of your followup]
"Calab" <myspam@csd.ca> spake the secret code
<EKawj.76395$FA.4898@pd7urf2no> thusly:
>> 1) Install the Nov 20007 DirectX SDK
>> 2) Set the include path to:
[quoted text clipped - 4 lines]
>Done... but still getting errors. Now it's "CVT1100: duplicate resource" and
>"LNK1123: failure during conversion to COFF"
What is the *exact* order in which you've got the include and library
search paths?
It should be: DirectX SDK first, Windows SDK second, Visual Studio
third.

Signature
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
<http://www.xmission.com/~legalize/book/download/index.html>
Legalize Adulthood! <http://blogs.xmission.com/legalize/>
Calab - 27 Feb 2008 05:44 GMT
> [Please do not mail me a copy of your followup]
>
[quoted text clipped - 16 lines]
> It should be: DirectX SDK first, Windows SDK second, Visual Studio
> third.
Tools->Options->VC++ Directories ...
Show Directories for: Library Files
$(VCInstallDir)lib
$(VCInstallDir)atlmfc\lib
$(VCInstallDir)atlmcf\lib\i386
$(WindowsSdkDir)\lib
$(FrameworkSDKDir)lib
$(VSInstallDir)
$(VSInstallDir)lib
C:\Program Files\Microsoft DirectX SDK (November 2007)\Lib
C:\Program Files\Microsoft Visual Studio 9.0\VC\lib
C:\Program Files\Microsoft SDKs\Windows\v5.0\Lib
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib
Show Directories for: Include files
$(VCInstallDir)include
$(VCInstallDir)atlmfc\include
$(WindowsSdkDir)\include
$(FrameworkSDKDir)include
C:\Program Files\Microsoft DirectX SDK (November 2007)\Include
C:\Program Files\Microsoft Visual Studio 9.0\VC\Include
C:\Program Files\Microsoft SDKs\Windows\v5.0\Include
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include
(And I just tried moving the C:\ paths to the top of their respective lists)
Thanks for the help, BTW!