You got me lollin. The compiler will complain of undefined LPDIRECT3DFONT or whatever because it hasn't encountered the type definition.... which is in the sdk headers.
You are obviously wrong, and have your project configured incorrectly. The MSDN documentation is not only useful D3D advice, but entire programming languages can be learned without leaving the site. A lack of dedication and effort on your part is the problem.
For some better D3D explanation,
DirectX Tutorial.com - Game Programming with DirectX is amazing.
---
EDIT and believe me, not only is your code probably not original, but if you simply use a randomizer/packer, you will not have detection problems. I am saying these things to help you, not to belittle you. Releasing your code is unnessecary, it is a project configuration issue.
------------------------------------- This one should be much more helpful:
You do not understand D3D fonts -- you have to first declare a pointer to the interface, then 'create' the font before using it. The directx tutorial website (or msdn) will show you how. You can then use pFont, your pointer to that font's interface, to draw text.