   Linking Direct X libraries
  According to the NeXe tutorial (nexe.gamedev.com), you need to link in the directx libraries , how do you do this with directx 9 and visual c++ 2003 standard .net?Cheers 
  I use visual C++ 6 but presuming there isnt too much of a differnce:Use Tools->Options to bring up the Options dialog box. Then click the Directories tag and enter the path for directX libraries and include files (use the drop down list to change between header files paths  and library paths). On my machine the path is C:\MSSDK\include and C:\MSSDK\lib. You should add these paths to the beginning of the list in case older version of directX are lying around somewhere.Now include the libraries you need. These depend on what part of directX you are using. its ddraw.lib for direct draw, ddsound.lib for direct sound etc. On my compiler, I click on Project->Settings and click on the ''Link'' tag on the dialog box that appears.In the second list box called Object/library modules you would type in for example ddraw.lib at the start of the list.Or you can do this with code by inserting #pragam comment (lib,"ddraw.h")at the very start of your program (you still need to set up the paths though.) 