Results 1 to 8 of 8
  1. #1
    EinsteinMagaiver's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    0

    Cool Erro na Base ? vip

    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 ==========

  2. #2
    Killa233's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    95
    Reputation
    10
    Thanks
    10
    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 - _ -

  3. #3
    Coder.Anonymous's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Location
    MPGH
    Posts
    1,144
    Reputation
    53
    Thanks
    4,940
    My Mood
    Cynical
    Solução :
    Agora Se Vira.
    Code:
    Use Multi-Byte Character Set







    Claro[...]


    WFBR:


    PBBR:


    CABR:



  4. #4
    Shadow-BR's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    3
    Tenta compilar em Release

  5. #5
    FooChaos's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    Brazil
    Posts
    245
    Reputation
    28
    Thanks
    176
    My Mood
    Aggressive
    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








  6. #6
    Hacker Fail's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    C++
    Posts
    2,136
    Reputation
    242
    Thanks
    12,562
    Code:
    Use Multi-Byte Character Set
    simplesmente
    Member Level 1 since November, 2011
    Contributor since March, 2015
    Game Hacking Team : 06/14/2017

     

  7. #7
    Otaviomorais's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Location
    MG, Brasil
    Posts
    268
    Reputation
    10
    Thanks
    124
    My Mood
    Dead
    Se quiser somente tirar este erro e não souber direito o que está fazendo você coloca isso:

    Code:
    GetModuleHandleA
    no lugar disso:

    Code:
    GetModuleHandle
    Se quiser resolver de uma vez por todas, vá na aba project, $ProjectName Properties, Configuration Properties, e em Charecter Set você muda para

    Code:
    Use Multi-Byte Character Set.

  8. #8
    Rullez's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    Vancouver, Canada
    Posts
    4,069
    Reputation
    316
    Thanks
    26,129
    My Mood
    Aggressive
    Duvida parece resolvida .






Similar Threads

  1. [Solved] [ERRO na Base] Combat arms
    By EinsteinMagaiver in forum Combat Arms BR Coding Help
    Replies: 8
    Last Post: 03-24-2013, 12:59 PM
  2. [Help Request] Erro Build Base. ME AJUDA !
    By XarutoUsoCrack in forum Combat Arms BR Coding Help
    Replies: 32
    Last Post: 06-14-2011, 08:46 AM
  3. Erro na base
    By SouFoda_ in forum Combat Arms Brazil Help
    Replies: 10
    Last Post: 05-02-2011, 03:45 PM
  4. [HELP] erros na base.
    By rapha15br in forum Combat Arms Brazil Help
    Replies: 3
    Last Post: 04-28-2011, 03:00 PM
  5. [Help] ERRO Source base menu combined
    By franpanpan in forum Combat Arms Coding Help & Discussion
    Replies: 4
    Last Post: 11-13-2010, 03:19 PM