Set Character Set to "Use Multi-Byte Character Set" in properties.
Trying to make my own cheat bassed off of de_stroyer, I stumbled across the error:
Error C2664 'int wcscmp(const wchar_t *,const wchar_t *)': cannot convert argument 1 from 'CHAR [260]' to 'const wchar_t *'
I assume that the error is from this line of code:
if (!wcscmp(ProcEntry.szExeFile, wszName))
I don't know what to fix though, I think it is something with ProcEntry. Does anyone know how to fix this?
Last edited by DarknzNet; 02-04-2017 at 03:13 PM.
Set Character Set to "Use Multi-Byte Character Set" in properties.
I'm not exactly sure how to do it... Just updated Visual Studio and it is a little different
- - - Updated - - -
It used to be under "Configuration Properties" > "General" but I don't see it there.
Ok, found it but it was already using Multi-Byte Character Set
- - - Updated - - -
Changed it to Unicode and it worked
Alright. Solved & Closed.