Change your project settings to multi byte.
So I recently started coding with ProcMem and I came across 2 errors. One error i could fix by switching the character set, the other one i cant find a fix for. Its this one: int strcmp(const char * const char *)`: cannot convert argument 1 from 'WCHAR[260]'to çonst char*'. I know the strcmp function compares 2 strings but the arguments are chars right? How can i fix this?
Thx in advance, DracoBlackBelt.
Change your project settings to multi byte.
@WasserEsser Do you mean the character set? I already have that on multi bytes and it still throws an error. Or is there an option im missing for the entire project?
Last edited by DracoBlackBelt; 04-10-2016 at 12:51 PM.
I had a ProcMem.cpp and ProcMem.h file(s) and they gave me those errors, I found slightly different ones online and those worked for me (Visual Studio 2013 Express)
Just uploaded mine:
https://pastebin.com/QArYBXp4 // ProcMem.cpp
https://pastebin.com/c2yQnhdF // ProcMem.h
/Solved & closed.