HeathHowren / CSGO-Cheats

A collection of cheats for Counter-Strike: Global Offensive
MIT License
152 stars 53 forks source link

modEntry being passed as a WCHAR when it needs to be const char* #4

Open Alacrity17 opened 3 years ago

Alacrity17 commented 3 years ago

For glow esp source. Using 2019 VS.

CSmith1539 commented 3 years ago

I changed that line to if if (!strcmp((const char*)modEntry.szModule, modName)) { and the error went away, although I don't yet know if it still works the same, just no error. edit: I got it working so that means this works

another edit after a long time: in the settings I cant remember exactly where you need to change unicode to multibyte. He talks about it at the beginning of the video so do that

CSmith1539 commented 3 years ago

you need a multi byte character set dummy

Yes when I commented I was very new and very stupid

SymoHTL commented 2 years ago

how to change Character set in visual studio 2019. pls help