Thread: Reference problems (DirectX)

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    105

    Question Reference problems (DirectX)

    Hi there!

    I've got to go into DirectX programming, and I decided to use Visual Studio 2003 along with the DirectX SDK to do it.
    However I ran into a problem with the installation. To use the directX features I have to add it as a reference (and also include the "using" in the code) to my project, but the Microsoft.DirectX references aren't on the list! Usually this is because of some problem in the installation, so here's how I did it:

    1. I installed Visual Studio 2003 along with .NET framework (and fixes, and SP1).
    2. I installed DirectX 9.0 SDK (it's good enough for me).

    I've restarted the PC between the installations, and after the installation.
    When I wish to add the reference to my projects, I simply don't see the Microsoft.DirectX.<stuff> on the list. What did I do wrong? What directories do I have to add to the project's include folders?

    Please help. I managed to get it work on my old PC (I just got some new stuff, and needed a reinstall), but I forgot how...

    Thx again in advance,
    Han

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    105
    One more thing. I checked the c:\windows\assembly folder, and the Microsoft.DirectX stuff are there... Still when I click "Add reference" in my project in VC2003, they do not appear! (And as I read in another thread, I also don't have the DLLs in my c:\Windows\Microsoft.NET library.)

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    105
    How weird is that? I installed the DX 10 SDK, and everything works.
    So thread is pointless now.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. non-const reference and const reference
    By George2 in forum C++ Programming
    Replies: 3
    Last Post: 12-15-2007, 05:03 AM
  2. Problems with DirectX 9.0 SDK includes
    By SkyRaign in forum Game Programming
    Replies: 12
    Last Post: 12-23-2005, 09:45 AM
  3. How to: Use OpenGL with Jgrasp
    By Pickels in forum Game Programming
    Replies: 3
    Last Post: 08-30-2005, 10:37 AM
  4. compiler problem
    By sofarsoclose in forum C Programming
    Replies: 3
    Last Post: 07-10-2003, 11:39 AM
  5. problems with gtk+, and xlib
    By Ian in forum Linux Programming
    Replies: 3
    Last Post: 12-02-2001, 06:43 AM