Compile errors - Whit's combined base v2

Posts 1–8 of 8 · Page 1 of 1
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.
rename it to GetModuleHandleA
watch that you declared everything and included all folders that needed for it from sdk
Change the characterset to multibyte
Quote Originally Posted by Mr.Magicman View Post
Change the characterset to multibyte
Sorry, but how I do it? Is to change Unicode to Multibyte? I think i have do it a few months ago, but i can't remember =X
Go to Project, Properties, General, in Character Set change for Multi-byte
Way to spoonfeed guys
Mr. Magicman gave the right response
Quote Originally Posted by whit View Post
Way to spoonfeed guys
Mr. Magicman gave the right response
Lol, Whit said spoonfeed
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us