hey guys , im trying to get into d3d hooking. I got a box , now i need to get some text going. I tried this.
Globals
Code:
LPD3DXFONT g_pFont = NULL; //D3D Font
Endscene
Code:
f(g_pFont == NULL)
D3DXCreateFont( Device_Interface, 14, 0, FW_NORMAL, 1, 0, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, ANTIALIASED_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Arial Black", &g_pFont );
DrawText(120,15,D3DCOLOR_ARGB(255,255,0,0),"Test"); But i always get a parameter error like
1>.\Main.cpp(174) : error C2660: 'DrawTextA' : function does not take 4 arguments

. any help guys? and today is my birthday ! so helping me would be really nice of you guys :PP