D3D Menu Error Help Plz!!!!
i haven't done anything on mpgh in the last 3-4 days becuz i was trying hardly to learn the D3D Basics and using topblast's base v1.1 but that base was a little bit hard and i found at last a very simple and also working base.. so i got 4 errors from it i fixed 2 and now 2 are still unfixed and i couldn't fix them so i will share the code and i request you guys to help me in fixing it the code is for @Qmo and i request the help from all G-Force Members as they are experts in d3d :
@giniyat101
@Royku
@CHEATZ
@[N.O]N.A.M.E
ok download that base and please try to tell me and this is the error i get"
and that is the code that has the aguments:
thnx so much :)
Virus Scans:
Da Base.rar - Jotti's malware scan
https://www.virustotal.com/file/a087...is/1328531643/

If You Want To Join Master Coders Add Me on MSN Or PM Me On MPGH!
Heres The Email For MSN:
mastercoders@.hotmail.com

@giniyat101
@Royku
@CHEATZ
@[N.O]N.A.M.E
ok download that base and please try to tell me and this is the error i get"
1>------ Build started: Project: worked, Configuration: Debug Win32 ------
1> D3Dbase.cpp
1>h:\documents and settings\user\my documents\visual studio 2010\projects\worked\worked\functions.h(13): error C2664: 'ID3DXFont::DrawTextW' : cannot convert parameter 2 from 'char []' to 'LPCWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
1> D3Dbase.cpp
1>h:\documents and settings\user\my documents\visual studio 2010\projects\worked\worked\functions.h(13): error C2664: 'ID3DXFont::DrawTextW' : cannot convert parameter 2 from 'char []' to 'LPCWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
void PrintText(char pString[], int x, int y, D3DCOLOR col, ID3DXFont *font)
{
RECT FontRect = { x, y, x+500, y+30 };
font->DrawText( NULL, pString, -1, &FontRect, DT_LEFT | DT_WORDBREAK, col);
}
{
RECT FontRect = { x, y, x+500, y+30 };
font->DrawText( NULL, pString, -1, &FontRect, DT_LEFT | DT_WORDBREAK, col);
}
Virus Scans:
Da Base.rar - Jotti's malware scan
https://www.virustotal.com/file/a087...is/1328531643/
If You Want To Join Master Coders Add Me on MSN Or PM Me On MPGH!
Heres The Email For MSN:
mastercoders@.hotmail.com





, like that everyone can make D3D and that's not funny, just learn by yourself ...