Most of the DirectX code is identically in C++ and in Delphi, however some things can be rather a pain to convert!

Clooties page has a few examples that might help you:
http://clootie.narod.ru/delphi/download_dx90.html
http://clootie.narod.ru/delphi/download_custom.html