Help Needed: Error C++

Posts 1–5 of 5 · Page 1 of 1
Help Needed: Error C++
Well im working on my CA Menu Hack and ive got this error!

1>------ Build started: Project: Menu Base, Configuration: Release Win32 ------
1>Compiling...
1>Brain.cpp
1>Linking...
1>Brain.obj : error LNK2001: unresolved external symbol _D3DXCreateFontA@48
1>C:\Users\CookiE\Desktop\Ac1d's Base\Release\Menu Base.dll : fatal error LNK1120: 1 unresolved externals
1>Build log was saved at "file://c:\Users\CookiE\Desktop\Ac1d's Base\Menu Base\Release\BuildLog.htm"
1>Menu Base - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

This is the code where the error causes:
void ReFont(LPDIRECT3DDEVICE9 pDevice)
{
if (g_pDevice != pDevice)
{
g_pDevice = pDevice;
try
{
if (pFont != 0)
pFont->Release();
} catch (...) {}
pFont = 0;
D3DXCreateFont(pDevice, 12, 0, FW_BOLD, 1, 0, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Arial", &pFont);
}
}
I already tried to put D3DXCreateFontA instead of D3DXCreateFont but its not working!
* Im not giving the base cause its secret ^^
When u send me the base i say u

And u know why all my menus disappear (hide) after 30 secs in combat arms?
Quote Originally Posted by jd96 View Post
When u send me the base i say u

And u know why all my menus disappear (hide) after 30 secs in combat arms?
Dude i cant give u the base!!!
Anyway i need someone experienced and i also cant answer ur question!
There might be something wrong with ur DirectX?
Quote Originally Posted by 117185 View Post
Dude i cant give u the base!!!
Anyway i need someone experienced and i also cant answer ur question!
There might be something wrong with ur DirectX?
I'm a total noob in C++, but maybe try to simplify the font script? instead of using bold and all that stuff, just use it with as less options u can.
Maybe the font is missing?

Check source codes of other hacks ;-) maybe you find the fix in there..

Hope I helped lol... I'm almost sure I didn't but ok xD

goodluck ;-)
Hmm it sounds all smart but these fonts im using ,
are used before in this base!!
I used it for my Private Hack.
But now i got my new PC and its not working anymore!
Posts 1–5 of 5 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us