Need a bit of help installing directx in vis 2005 beta 2

Hey all, hope you can help me out here!

I've downloaded and installed visual studio 2005 beta 2 standard edition and it has installed ok on my sytem, I've also downloaded and installed the directx sdk from october 2005 and that looked like it went in ok too. However I'm now wondering how do i add directx extensions into visual studio? When i used vis 2003 the extensions just appeared (on the splash screen at start up) but they don't seem to be there this time around? I have a little app that compiled and ran ok under 2003 but it seems like it just can't find directx this time around. Do i have to do anything special to get it into vis 2005?

Thanks for your help!

Pete

[695 byte] By [petedee] at [2008-3-1]
# 1
There are no "DirectX Extensions" anymore in VS. If you have the DirectX SDK installed, you can easily install the "Empty Project" solution from the DirectX Sample Browser. That will give you a startup project.
DavidWeller at 2007-9-9 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: DirectX 101...
# 2

I asked about the VS'05 extensions on the DIRECTXDEV mailing list a couple of days ago - I noticed that syntax highlighting for shaders had disappeared. Official line was that the current SDK's (given they predate VStudio'05) don't integrate with it, but it'll be sorted for the December update.

As for your last comment 'seems like it just can't find directx this time around'. Do you mean you're getting compiler errors that it's not finding 'd3d9.h' (or similar)?

If so, you need to configure the IDE to search the correct folders for those files - normally the SDK installer will do this for you, but as mentioned, it doesn't for '05 just yet.

In Visual Studio 2005 (with or without a project open): Tools Menu -> Options -> Projects and Solutions -> VC++ Directories. Click on it.

You'll get a new display on the RHS, you need to add the 'include' and 'lib' folders to the lists (at the top!). The drop-down under 'Show Directories For' allows you to select 'include files' and 'library files'. For each of those add a new folder pointing to the correct one in your DirectX SDK installation.

That should be all you need to do for that problem Smile

hth
Jack

JackHoxley at 2007-9-9 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: DirectX 101...