Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,423
    Reputation
    112
    Thanks
    693

    [Help]Error in my menu

    Ok if this is a noob question. Tell me and ill ask another website cause Ive been at this for hours. Can anyone help?

    Ok so i recently fixed Whits base. But i got this error i always see and i don't know how to fix it. any suggestions i have team viewer. Here is the Error


    [php]1>Compiling...
    1>Base.cpp
    1>c:\documents and settings\stephen\desktop\BLABLA\cabase\base.cpp(27 1) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data
    1>c:\documents and settings\stephen\desktop\BLABLA\cabase\base.cpp(74 2) : 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>c:\documents and settings\stephen\desktop\BLABLA\cabase\base.cpp(74 3) : error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [13]' to 'LPCWSTR'
    1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    1>c:\documents and settings\stephen\desktop\BLABLA\cabase\base.cpp(74 4) : error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [11]' to 'LPCWSTR'
    1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    1>DirectX.cpp
    1>c:\documents and settings\stephen\desktop\BLABLA\cabase\directx.cpp (27) : error C2664: 'ID3DXFont:rawTextW' : cannot convert parameter 2 from 'char [1024]' to 'LPCWSTR'
    1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    1>Menu.cpp
    1>c:\documents and settings\stephen\desktop\BLABLA\cabase\menu.cpp(10 1) : 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:\documents and settings\stephen\desktop\BLABLA\cabase\menu.cpp(10 4) : 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:\documents and settings\stephen\desktop\BLABLA\cabase\menu.cpp(10 6) : 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[/php]
    Last edited by NOOBJr; 09-18-2010 at 04:48 PM.

  2. #2
    whatup777's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    CA Source Code Section
    Posts
    4,025
    Reputation
    147
    Thanks
    351
    My Mood
    Dead
    I think Crash said to change the byte to Mulitibyte. Not sure though.
    Quotes I live by.


    A foolish person learns from his mistakes, I wise person learns from others.
    Quote Originally Posted by AVGN View Post



    mhm

    i live in texas

    i was at the grocery store with my son. He saw a mexican guy, and he said "Look daddy! a mower man!"

    he's 4 yrs old

  3. #3
    markoj's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    s
    Posts
    1,064
    Reputation
    60
    Thanks
    407
    My Mood
    Bored
    How did you fix his base if your getting this error, its one of the things he put in to make it anti noob so you obviously didn't fix it /
    Dont ban me

  4. #4
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,423
    Reputation
    112
    Thanks
    693
    Whatup77 Could you help me? Please? Also no i fixed it and now its giving me this eror idk why!
    add my msn if you willing to help stepheno2828@gmail.com

  5. #5
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,881
    Reputation
    163
    Thanks
    3,291
    My Mood
    Sleepy
    Are you somebody hacking Zane's account because this is basic stuff that you can probably search on Google for...

    Change to multibyte or :

    Code:
    example :
    
    GetModuleHandle(L"CShell.dll")

  6. #6
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    Thats Not An Error In Your Menu...
    Thats An Error In Your C/p Skillz

  7. #7
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,423
    Reputation
    112
    Thanks
    693
    Whit's Right. I did C+p this base and got this error. So i consulted drake and he couldnt get it ethir so watch your mouth. Cause you could be calling someone else a c+p

  8. #8
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,070
    Reputation
    50
    Thanks
    940
    My Mood
    Fine
    Quote Originally Posted by Zane Slayman View Post
    Whit's Right. I did C+p this base and got this error. So i consulted drake and he couldnt get it ethir so watch your mouth. Cause you could be calling someone else a c+p
    That logic makes no sense.

  9. The Following User Says Thank You to CodeDemon For This Useful Post:

    whit (09-18-2010)

  10. #9
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    Quote Originally Posted by Zane Slayman View Post
    Whit's Right. I did C+p this base and got this error. So i consulted drake and he couldnt get it ethir so watch your mouth. Cause you could be calling someone else a c+p
    Well That Means Drake Isa C/p Also...
    But Too Fix Change Too Multi Byte Character Set

  11. #10
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,423
    Reputation
    112
    Thanks
    693
    No but i guess there was more problems after the one's i gave. But Drake isnt a C+p Hes a wicked good coder respect that!

  12. #11
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    Quote Originally Posted by Zane Slayman View Post
    No but i guess there was more problems after the one's i gave. But Drake isnt a C+p Hes a wicked good coder respect that!
    I Dont.....

  13. The Following 2 Users Say Thank You to whit For This Useful Post:

    Jason (09-18-2010),markoj (09-18-2010)

  14. #12
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,423
    Reputation
    112
    Thanks
    693
    Why?/too short

  15. #13
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    Quote Originally Posted by Zane Slayman View Post
    Why?/too short
    You Just Said Drake Couldnt Fix That Error...

  16. The Following User Says Thank You to whit For This Useful Post:

    Jason (09-18-2010)

  17. #14
    fvestrgenrl's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Posts
    172
    Reputation
    9
    Thanks
    26
    Everywhere it says something like
    Code:
    GetModuleHandleW
    If you look in your code there will be no W so just add an A and make it look like this in your code
    Code:
    GetModuleHandleA
    That will fix most of them.
    Quote Originally Posted by fallon View Post
    hi i have make a hack and with hot keys but when i start it combat arms close down


    i use this code



    Code:
    PushToConsole("SkelModelStencil (V_F9)1");
    PushToConsole("ShowFps (V_INSERT");
    PushToConsole("ActivationDistance 999999(V_F6)" );
    PushToConsole("DisableCrosshair (V_NUMPAD 1" );
    PushToConsole("CrossHairR 255(V_NUMPAD 2) ");
    PushToConsole("ReloadSpeed 0.000000(V_F5) ");
    }
    Learning C++
    Pg 33/1225
    2.7%

  18. #15
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,423
    Reputation
    112
    Thanks
    693
    Naw i figure it out! After i fixed that problem i got like 20 more errors then after i fixed those i got like 5 more. Guess thats why drake didnt wanna do it.

Page 1 of 2 12 LastLast

Similar Threads

  1. [Help Request] Help error Crossfire Ph
    By matheuspoloni in forum CrossFire Help
    Replies: 11
    Last Post: 08-06-2011, 01:52 PM
  2. *Need help on 1 error on the menu :(
    By ultahackers in forum Combat Arms Coding Help & Discussion
    Replies: 10
    Last Post: 11-06-2010, 10:54 AM
  3. Help 1 Error on this menu Pub : C++ :
    By ultahackers in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 8
    Last Post: 08-25-2010, 03:33 PM
  4. [Help] Error again..
    By Spoking in forum WarRock Korea Hacks
    Replies: 3
    Last Post: 05-22-2007, 02:51 PM
  5. [Help] Error.
    By Spoking in forum WarRock Korea Hacks
    Replies: 5
    Last Post: 05-21-2007, 01:10 PM