[Help]Error in my menu

Posts 1–15 of 20 · Page 1 of 2
[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]
I think Crash said to change the byte to Mulitibyte. Not sure though.
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 /
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
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")
Thats Not An Error In Your Menu...
Thats An Error In Your C/p Skillz
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
Quote Originally Posted by NOOBJr 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.
Quote Originally Posted by NOOBJr 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
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!
Quote Originally Posted by NOOBJr 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.....
Why?/too short
Quote Originally Posted by NOOBJr View Post
Why?/too short
You Just Said Drake Couldnt Fix That Error...
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.
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.
Posts 1–15 of 20 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us