Where is d3dim.lib, d3drm.lib, dsound3d.lib?

My questions:
1) My book ("Tricks of the Windows Game Programming Gurus ed1" ) teaches DirectX 8.1 SDK. Is it fine to have that SDK on for ease-of-understanding w/ the book, or use the updated DirectX 9.0c SDK

2) Relating to DirectX 8.1 SDK, the book says I need the following library files:

ddraw.lib
dsound.lib
dinput.lib
dsetup.lib
dplayx.lib

Now, the next three are nowhere to be found in the library folder:

d3dim.lib  
d3drm.lib
dsound3d.lib

Where are these libraries Did MS do their yearly remove & replace somewhere How is this going to effect my code

Thanks,
Phil


Answer this question

Where is d3dim.lib, d3drm.lib, dsound3d.lib?

  • OzJester

     dxfoo wrote:
    Thanks for clearing this out for me. I assume d3d8.lib is the Direct3D library, then


    Yes.

    d3d8.lib is the DirectX 8.x Direct3D library.
    d3d9.lib is the DirectX 9.0 Direct3D library.

  • AFKM

    Still waiting... I read that d3dim is in d3d8.lib, but that's all so far.


  • Annoyeddeveloper

    Thanks for clearing this out for me. I assume d3d8.lib is the Direct3D library, then
  • GRoston

    direct3dim.lib is for "Direct3D Immediate Mode"
    direct3drm.lib is for "Direct3D Retained Mode"
    dsound3d.lib is for "DirectSound 3D"

    All of those libraries are for DirectX 7 rather than DirectX 8.

    - The API for Direct3D Immediate Mode was redesigned for DirectX 8 and is now what is simply known as Direct3D.

    - Direct3D Retained Mode was made obsolete in DirectX 8. There isn't an equivilent, though some of the functionality (albeit with a totally different API) is now in the D3DX library.

    - The functionality from DirectSound3D was moved into the main DirectSound library so 3D positional audio stuff is now found in dsound.lib.


    Microsoft usually put the libraries from *one* previous version of DirectX in the SDK for the current version, so the DirectX 8.x SDK also contains the library files from the DirectX 7 SDK, but not any older versions; likewise, the DirectX 9 SDK also contains the library files from the DirectX 8.x SDK but not those from the DirectX 7 SDK.

    If your book was truly written for DirectX 8 (and above), none of the sample code or text should require any of those three libraries.

    HTH

  • Where is d3dim.lib, d3drm.lib, dsound3d.lib?