Project -> % Properties... -> Configuration Properties -< Character Set = "Use Multi-Byte Character Set"
when i compile my hack this are the errors that i get plz help me fix this
@flameswor10
1>------ Build started: Project: Derian V0.1, Configuration: Debug Win32 ------
1> dllmain.cpp
1>c:\users\alejandro y derian\desktop\souls base\dllmain.cpp(17): error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [14]' to 'LPCWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1> Hack.cpp
1>c:\users\alejandro y derian\desktop\souls base\soulmenu.h(30): error C2664: 'ID3DXFont:rawTextW' : 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
1>c:\users\alejandro y derian\desktop\souls base\hack.cpp(54): error C2664: 'D3DXCreateFontW' : cannot convert parameter 11 from 'const char [6]' to 'LPCWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\alejandro y derian\desktop\souls base\hack.cpp(62): error C2664: 'GetTimeFormatW' : cannot convert parameter 5 from 'CHAR [25]' to 'LPWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\alejandro y derian\desktop\souls base\hack.cpp(173): error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [9]' to 'LPCWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1> Generating Code...
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Project -> % Properties... -> Configuration Properties -< Character Set = "Use Multi-Byte Character Set"
Last edited by CoderNever; 01-09-2012 at 05:37 PM.
flameswor10 (01-09-2012)
Solved & Closed
No I do not make game hacks anymore, please stop asking.