Thread: D3DX not working: good SDK invalid?

  1. #1
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158

    D3DX not working: good SDK invalid?

    I was compiling code from a tutorial, when this line produced an error:
    Code:
    mysprite->Begin(D3DXSPRITE_ALPHABLEND);
    According to my header files, Begin() has no parameters it's declared as Begin(void);
    Also, D3DXSPRITE_ALPHABLEND isn't in the headers either. The headers I'm using are from the official 9.0 SDK! Anyway, is there an alternative to this, or a way to get this supported?

  2. #2
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    That was changed either between 8 and 9 or 9 and 9c. Make sure your docs are the same version as the SDK you are building with.

  3. #3
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    I found it (both Begin with a parameter, and D3DXSPRITE_ALPHABLEND) in d3dx9core.h.

  4. #4
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    I ran into this same thing with the same function when I switched versions. The docs I had did not match the libraries I was linking with.

  5. #5
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158
    I went to look at msdn's directx sdk update and it's huge. I can't download that with dial-up (not to mention that the stupid Genuine Windows Check garbage doesn't work and reports a bug when run on my xp or 2000 system) But I also see that if you RAR all the lib and header files, they barely break 5 megs.
    I was wondering if someone would be willing to do that for me and put in on a site for me to download or somthing. I know it's a little more than usual to ask for, but it'd be really great.

  6. #6
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    not to mention that the stupid Genuine Windows Check garbage doesn't work and reports a bug when run on my xp or 2000 system)
    Hmm. I've never had any issues with this.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 8
    Last Post: 01-18-2008, 04:06 AM
  2. Win32 API or Win32 SDK?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 07-20-2005, 03:26 PM
  3. Old NT SDK? Trying to get netperf working
    By Geolingo in forum Windows Programming
    Replies: 0
    Last Post: 02-20-2004, 02:15 AM
  4. Just made a big-ass trade: was it good?
    By civix in forum A Brief History of Cprogramming.com
    Replies: 41
    Last Post: 01-20-2003, 09:14 AM
  5. Program was working good until.....
    By cazil in forum C++ Programming
    Replies: 1
    Last Post: 02-12-2002, 10:53 PM