Aprender C + + tente novamente
---------- Post added at 02:21 AM ---------- Previous post was at 02:20 AM ----------
pela maneira Mattys base de u necessidade de atualizar o código completamente a CA BR para você pode usá-lo assim - _ -
Como Corrigir esse Erro ?
1>------ Build started: Project: hacker CABR, Configuration: Debug Win32 ------
1>Build started 22/03/2013 02:16:24.
1>InitializeBuildStatus:
1> Touching "Debug\hacker CABR.unsuccessfulbuild".
1>ClCompile:
1> main.cpp
1>c:\users\user\desktop\matypatty\main.cpp(27): error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'char [13]' to 'LPCWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\user\desktop\matypatty\main.cpp(28): error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'char [9]' to 'LPCWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\user\desktop\matypatty\main.cpp(29): error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'char [11]' to 'LPCWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\user\desktop\matypatty\main.cpp(30): error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'char [11]' to 'LPCWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\user\desktop\matypatty\main.cpp(31): error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'char [13]' to 'LPCWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\user\desktop\matypatty\main.cpp(313): error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [16]' to 'LPCWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:01.02
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Aprender C + + tente novamente
---------- Post added at 02:21 AM ---------- Previous post was at 02:20 AM ----------
pela maneira Mattys base de u necessidade de atualizar o código completamente a CA BR para você pode usá-lo assim - _ -
Solução :
Agora Se Vira.
Code:Use Multi-Byte Character Set
Claro[...]
WFBR:
PBBR:
CABR:
Só tem que mudar O Character Set Exemplo
Se for usar int em uma função que pedi Float é o Seguinte
Code:int caraia4; FunçãoPedirFloat((int)caraia4);
~My Signs
simplesmenteCode:Use Multi-Byte Character Set
• Member Level 1 since November, 2011
• Contributor since March, 2015
• Game Hacking Team : 06/14/2017
Se quiser somente tirar este erro e não souber direito o que está fazendo você coloca isso:
no lugar disso:Code:GetModuleHandleA
Se quiser resolver de uma vez por todas, vá na aba project, $ProjectName Properties, Configuration Properties, e em Charecter Set você muda paraCode:GetModuleHandle
Code:Use Multi-Byte Character Set.
Duvida parece resolvida .