DirectX Version Thingy

This is a discussion on DirectX Version Thingy within the Game Programming forums, part of the General Programming Boards category; Hi. I'm learning DirectX from a tutorial, and I'm pretty sure it's an older version than my SDK. What are ...

  1. #1
    31173 h4x0r gnu-ehacks's Avatar
    Join Date
    Nov 2001
    Posts
    556

    DirectX Version Thingy

    Hi. I'm learning DirectX from a tutorial, and I'm pretty sure it's an older version than my SDK.

    What are the DirectX 8.1 equivelants to these?

    "CreateOffScreenSurface(pdd, bm.bmWidth, bm.bmHeight);"
    and
    "DDCopyBitmap(pdds, hbm, bm.bmWidth, bm.bmHeight);"
    What will people say if they hear that I'm a Jesus freak?
    What will people do if they find that it's true?
    I don't really care if they label me a Jesus freak, there is no disguising the truth!

    Jesus Freak, D.C. Talk

    -gnu-ehacks

  2. #2
    S­énior Member
    Join Date
    Jan 2002
    Posts
    982
    Those look like helper functions that may have been part of ddutil.h (which is often included in the SDK samples). The DX8 ddutil (in samples/multiimedia/common) wraps alot of these functions into two classes CDisplay and CSurface. CSurface::CreateSurfaceFromBitmap() will create an off screen surface from a bitmap, so you may need something like this. I'm not sure if this has been changed for 8.1 because I don't have the SDK installed on the machine I'm typing this on.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem building Quake source
    By Silvercord in forum Game Programming
    Replies: 16
    Last Post: 07-11-2010, 10:13 AM
  2. DirectX version issues
    By VirtualAce in forum Game Programming
    Replies: 1
    Last Post: 06-26-2006, 07:52 PM
  3. DirectX version
    By vinter in forum Game Programming
    Replies: 3
    Last Post: 06-23-2006, 10:33 PM
  4. DirectSound header issues
    By dxfoo in forum C++ Programming
    Replies: 0
    Last Post: 03-19-2006, 07:16 PM
  5. DirectX version??
    By SuperNewbie in forum Game Programming
    Replies: 1
    Last Post: 06-25-2002, 04:55 AM

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