What are the different Direct3D library files?
You should link with debug versions of the libraries when doing a debug build so you get warnings and error messages. Obviously for your final release build you should link with the release libraries.d3d9.lib – stub library for Direct 3D, link is with d3d9.dll at runtime, debug level controlled by Control Panel d3dx9.lib – the release library for D3DX, full code no dll d3dx9d.lib – the stub library for D3DX, link is with the (SDK only) d3dx9d.dll at run time d3dx9dt.lib – debug library for D3DX, full code no dll – useful if giving to someone without SDK installed for testing.Note: from the February update of the SDK D3DX has been moved into a .dll. Also the statically linked debug library (D3DX9dt.lib) has been removed; use D3DX9d.lib instead.