Im trying to compile http://www.codeproject.com/directx/d...&select=146195 with Microsoft Visual C++ 6

But its giving me

--------------------Configuration: project - Win32 Debug--------------------
Compiling...
dx9_fonts.cpp
C:\Sander\dx9_fonts\dx9_fonts.cpp(201) : error C2660: 'D3DXCreateFont' : function does not take 12 parameters
C:\Sander\dx9_fonts\dx9_fonts.cpp(248) : error C2660: 'DrawTextA' : function does not take 6 parameters
C:\Sander\dx9_fonts\dx9_fonts.cpp(251) : error C2660: 'DrawTextA' : function does not take 6 parameters
C:\Sander\dx9_fonts\dx9_fonts.cpp(254) : error C2660: 'DrawTextA' : function does not take 6 parameters
Error executing cl.exe.

project.exe - 4 error(s), 0 warning(s)
Why? In MSDN D3DXCreateFont does have 12 params...

Is there an easy way to do something like DrawText but then in OpenGL?