IDirect3D8_GetDeviceCaps( pst_SD->mp_D3D, pst_SD->Adapter, D3DDEVTYPE_HAL, &( pst_SD->d3dCaps)) ERROR

A probelm when I tried to start the game.
Anybody knows how to solute it, Thanx