Quick multimedia question

This is a discussion on Quick multimedia question within the C++ Programming forums, part of the General Programming Boards category; What is the name of the multimedia header file that lets you use direct draw??? Thanks in advance...

  1. #1
    Registered User Finchie_88's Avatar
    Join Date
    Aug 2004
    Posts
    154

    Question Quick multimedia question

    What is the name of the multimedia header file that lets you use direct draw??? Thanks in advance

  2. #2
    vae victus! skorman00's Avatar
    Join Date
    Nov 2003
    Posts
    594
    it used to be ddraw.h. However, it has been nixed and has been thrown into Direct3D. To use that you'll need d3d9.h, and don't forget to link with the d3d9.lib. It probably wouldn't be a bad idea to use d3dx9core.h and link to d3dx9.lib, or the dxerr9 files either.

    This is all assuming you're using DirectX 9 of course

  3. #3
    Registered User Finchie_88's Avatar
    Join Date
    Aug 2004
    Posts
    154
    Thanks for giving me the help, but it doesn't work, my compiler's main error is "d3dx9core.h: No such file or directory.", I understand the error, but don't know how to get round it...

  4. #4
    vae victus! skorman00's Avatar
    Join Date
    Nov 2003
    Posts
    594
    Either you do not have your compiler set up correctly, or you do not have the file. You might be able to get around using the file at all. If you do need it and do not have the file, look here http://msdn.microsoft.com/downloads/ for the DirectX SDK installer. It installs all of the documents, as well as the needed files.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Very quick math question
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 10-26-2005, 11:05 PM
  2. very quick question.
    By Unregistered in forum C++ Programming
    Replies: 7
    Last Post: 07-24-2002, 03:48 AM
  3. quick question
    By Unregistered in forum C++ Programming
    Replies: 5
    Last Post: 07-22-2002, 04:44 AM
  4. Quick Question Regarding Pointers
    By charash in forum C++ Programming
    Replies: 4
    Last Post: 05-04-2002, 11:04 AM
  5. Quick question: exit();
    By Cheeze-It in forum C Programming
    Replies: 6
    Last Post: 08-15-2001, 05:46 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21