In Every Menu Base same error
Hay
I get in every Menu Base(Gellin,Topbase)this error...Could that be because my DirectX ? I have the DirectX SDK June 2010 edition.
1>------construction begun: Project: Top base, configuration: Release Win32------1> Base.obj: error LNK2001: Not distraught external symbol \ " _D3DXCreateFontA@48 \ ". 1> C: \\ of user \\ Denis \\ desktop \\ TopBase_ \\ release \\ TopBase.dll: fatally error LNK1120: 1 not distraught external references. ========== construction: 0 successfully, mistakes with 1, 0 topically, 0 jumped over ==========
Thanks for any Kind of help....
means there is a Symbol your not allowed to use.. remove it :S
am i right
Originally Posted by GameTrainerMaker
means there is a Symbol your not allowed to use.. remove it :S
am i right
Well....I dont know what symbol and i cant find it ^^
Originally Posted by kongamonga
Well....I dont know what symbol and i cant find it ^^
" _D3DXCreateFontA@48
@48 means Line 48.
Thanks will edit if i found...
at line 48 is nothing with D3DXCreateFontA
Originally Posted by GameTrainerMaker
" _D3DXCreateFontA@48
@48 means Line 48.
@48 means the arguments the function takes are equal to a total of 48 bytes. The rest is the name....
Reason you're getting this error is because you didn't link the libraries. D3DXCreateFontA is in d3dx9.lib but don't also forget to link d3d9.lib as well.
Originally Posted by Void
@48 means the arguments the function takes are equal to a total of 48 bytes. The rest is the name....
Reason you're getting this error is because you didn't link the libraries. D3DXCreateFontA is in d3dx9.lib but don't also forget to link d3d9.lib as well.
Thanks...But i am exactly a noob in d3d just made HotKey Hacks...Could you give me more Info please ?/
Thanks Void :**
Originally Posted by Void
@48 means the arguments the function takes are equal to a total of 48 bytes. The rest is the name....
Reason you're getting this error is because you didn't link the libraries. D3DXCreateFontA is in d3dx9.lib but don't also forget to link d3d9.lib as well.
thanks.. i had a feeling i was way off
Originally Posted by kongamonga
Thanks...But i am exactly a noob in d3d just made HotKey Hacks...Could you give me more Info please ?/
Thanks Void :**
Then learn direct3D, and learn to link libraries.
I have a tutorial here on how to add include files and libraries into a project. It even has pictures. Search
I've heard that if you have these errors then you are defining the thing twice... like LPD3DXFONT (or what its name is)
So...
I tried everything...But i think its not hard for ya to give me this answer...I need one more Informacial Answer...Thanks for any kind of help
Originally Posted by Void
@48 means the arguments the function takes are equal to a total of 48 bytes. The rest is the name....
Reason you're getting this error is because you didn't link the libraries. D3DXCreateFontA is in d3dx9.lib but don't also forget to link d3d9.lib as well.
void is right. U need to add that .
pram comment (lib, "d3dx9.lib")
make sure u have the lib location in ur source.(cant remember what it is called)
Originally Posted by topblast
void is right. U need to add that .
pragma comment (lib, "d3dx9.lib")
make sure u have the lib location in ur source.(cant remember what it is called)
/ Yeah but toplast is right. Make sure you put that in your source and you should be fine.