Compile errors - Whit's combined base v2
Hello everybody! I'm trying to make a menu hack, but i have this errors when I try to compile
(Edited error code)
Code:
------ Build started: Project: BRForce menu, Configuration: Debug Win32 ------
Compiling...
Base.cpp
c:\documents and settings\administrador\desktop\jogos\ca ~ bases\combined base v2\cabase\base.cpp(55) : error C2664: 'D3DXCreateFontW' : cannot convert parameter 11 from 'const char [6]' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\documents and settings\administrador\desktop\jogos\ca ~ bases\combined base v2\cabase\base.cpp(58) : error C2664: 'D3DXCreateFontW' : cannot convert parameter 11 from 'const char [12]' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
DirectX.cpp
c:\documents and settings\administrador\desktop\jogos\ca ~ bases\combined base v2\cabase\directx.cpp(23) : error C2664: 'D3DXCreateFontW' : cannot convert parameter 11 from 'const char [6]' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\documents and settings\administrador\desktop\jogos\ca ~ bases\combined base v2\cabase\directx.cpp(35) : error C2664: 'D3DXCreateFontW' : cannot convert parameter 11 from 'const char [12]' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\documents and settings\administrador\desktop\jogos\ca ~ bases\combined base v2\cabase\directx.cpp(55) : error C2664: 'ID3DXFont::DrawTextW' : cannot convert parameter 2 from 'char [1024]' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Menu.cpp
c:\documents and settings\administrador\desktop\jogos\ca ~ bases\combined base v2\cabase\menu.cpp(75) : error C2664: 'ID3DXFont::DrawTextW' : cannot convert parameter 2 from 'char *' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\documents and settings\administrador\desktop\jogos\ca ~ bases\combined base v2\cabase\menu.cpp(78) : error C2664: 'ID3DXFont::DrawTextW' : cannot convert parameter 2 from 'char *' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\documents and settings\administrador\desktop\jogos\ca ~ bases\combined base v2\cabase\menu.cpp(80) : error C2664: 'ID3DXFont::DrawTextW' : cannot convert parameter 2 from 'char *' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Generating Code...
Build log was saved at "file://c:\Documents and Settings\Administrador\Meus documentos\Visual Studio 2008\Projects\BRForce menu\BRForce menu\Debug\BuildLog.htm"
BRForce menu - 8 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Someone can helps me?
Thanks a lot.