Results 1 to 11 of 11
  1. #1
    Capevaldo's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    CWBeats
    Posts
    5,518
    Reputation
    242
    Thanks
    1,145
    My Mood
    Drunk

    Help Me! I can't compile my hack =/

    Hi guys! I have this problem when I try to compile

    Code:
    ------ Build started: Project: CaBase, Configuration: Debug Win32 ------
    Compiling...
    Base.cpp
    c:\documents and settings\administrador\desktop\hans & gellins base combined\cabase\base.cpp(88) : error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [9]' to 'LPCWSTR'
            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    c:\documents and settings\administrador\desktop\hans & gellins base combined\cabase\base.cpp(89) : error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [13]' to 'LPCWSTR'
            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    c:\documents and settings\administrador\desktop\hans & gellins base combined\cabase\base.cpp(90) : error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [11]' 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\hans & gellins base combined\cabase\directx.cpp(26) : 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\hans & gellins base combined\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\hans & gellins base combined\cabase\menu.cpp(81) : 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\hans & gellins base combined\cabase\menu.cpp(83) : 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\Desktop\Hans & Gellins Base Combined\CaBase\Debug\BuildLog.htm"
    CaBase - 7 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    Last edited by Capevaldo; 10-10-2010 at 12:30 AM.

  2. The Following User Says Thank You to Capevaldo For This Useful Post:

    CanYouDoIt (10-10-2010)

  3. #2
    scimmyboy's Avatar
    Join Date
    Jan 2008
    Gender
    male
    Location
    http://mpgh.net MPGHCash: $442,596,199
    Posts
    5,649
    Reputation
    26
    Thanks
    894
    My Mood
    Happy
    use multi byte character set, not unicode

  4. The Following 2 Users Say Thank You to scimmyboy For This Useful Post:

    CanYouDoIt (10-10-2010),Capevaldo (10-10-2010)

  5. #3
    Jabuuty671's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    21,221
    Reputation
    1468
    Thanks
    4,093
    I don't know coding at all
    but i think you need to fix your pointers
    /

    what are pointers?


  6. #4
    scimmyboy's Avatar
    Join Date
    Jan 2008
    Gender
    male
    Location
    http://mpgh.net MPGHCash: $442,596,199
    Posts
    5,649
    Reputation
    26
    Thanks
    894
    My Mood
    Happy
    Quote Originally Posted by Jabuuty671 View Post
    I don't know coding at all
    but i think you need to fix your pointers
    /

    what are pointers?
    thats totally wrong lol

  7. #5
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,193
    Reputation
    205
    Thanks
    1,438
    My Mood
    Mellow
    Use the L macro before any text or just do what scimmy said.

  8. #6
    Capevaldo's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    CWBeats
    Posts
    5,518
    Reputation
    242
    Thanks
    1,145
    My Mood
    Drunk
    Thx for all help. I can solve it ._. And, a little question: My hack is detected, how i make it undetected? ._.

  9. #7
    scimmyboy's Avatar
    Join Date
    Jan 2008
    Gender
    male
    Location
    http://mpgh.net MPGHCash: $442,596,199
    Posts
    5,649
    Reputation
    26
    Thanks
    894
    My Mood
    Happy
    Quote Originally Posted by CaPeVaLdO View Post
    Thx for all help. I can solve it ._. And, a little question: My hack is detected, how i make it undetected? ._.
    obviously. the hook on that base is detected

  10. #8
    Capevaldo's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    CWBeats
    Posts
    5,518
    Reputation
    242
    Thanks
    1,145
    My Mood
    Drunk
    Quote Originally Posted by scimmyboy View Post
    obviously. the hook on that base is detected
    That's the point!
    How i make it undetected? ._.

  11. #9
    Dewerong's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    Inside a Packet
    Posts
    59
    Reputation
    10
    Thanks
    2
    Quote Originally Posted by CaPeVaLdO View Post
    That's the point!
    How i make it undetected? ._.
    Learn hacking.

  12. #10
    Capevaldo's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    CWBeats
    Posts
    5,518
    Reputation
    242
    Thanks
    1,145
    My Mood
    Drunk
    Quote Originally Posted by Dewerong View Post
    Learn hacking.
    I trying to learn.

  13. #11
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,404
    My Mood
    In Love
    Change Unicode to Multibyte. Have fun (it's in settings)
    No I do not make game hacks anymore, please stop asking.


    Been MPGH Minion: 6 July 2011 - 1 August 2012

Similar Threads

  1. Can't run any hacks... Help me, please!!
    By jneves4pt in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 20
    Last Post: 10-13-2010, 12:58 PM
  2. HelP! lol I can't use menu hacks >.>.
    By mshjr in forum Combat Arms Help
    Replies: 4
    Last Post: 06-24-2010, 02:12 AM
  3. Can someone help me how can I make a hack?
    By anonimo13 in forum CrossFire Help
    Replies: 8
    Last Post: 04-08-2010, 03:35 PM
  4. How can i create a hack!!! help please????
    By kosmas in forum Combat Arms Hacks & Cheats
    Replies: 3
    Last Post: 12-23-2008, 03:02 AM
  5. [Help] Can't find Wall Hack
    By skip in forum Combat Arms Hacks & Cheats
    Replies: 3
    Last Post: 08-10-2008, 04:43 PM