Please! - Do not use any DirectX inside of ODE. DirectX is NOT cross-platform and it is NOT Open. There are MANY people who use ODE because it IS cross-platform and open. DirectX has absolutley no business being used in an open, cross-platform library.