Thread: DirectX Version Thingy

  1. #1

    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);"
    "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


  2. #2
    S­énior Member
    Join Date
    Jan 2002
    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, 09:13 AM
  2. DirectX version issues
    By VirtualAce in forum Game Programming
    Replies: 1
    Last Post: 06-26-2006, 06:52 PM
  3. DirectX version
    By vinter in forum Game Programming
    Replies: 3
    Last Post: 06-23-2006, 09: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, 03:55 AM