HelpProcMem not working?

Posts 1–3 of 3 · Page 1 of 1
ProcMem not working?
ProcMem started making errors for me? Anyone know whats going wrong.

the errors:

ProcMem.cpp(29): error C2664: 'int strcmp(const char *,const char *)': cannot convert argument 1 from 'WCHAR [260]' to 'const char *'
1> ProcMem.cpp(29): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>ProcMem.cpp(56): error C2664: 'int strcmp(const char *,const char *)': cannot convert argument 1 from 'WCHAR [256]' to 'const char *'
1> ProcMem.cpp(56): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>ProcMem.cpp(59): warning C4311: 'type cast': pointer truncation from 'BYTE *' to 'DWORD'
1>ProcMem.cpp(59): warning C4302: 'type cast': truncation from 'BYTE *' to 'DWORD'
Quote Originally Posted by griefyyyyyyy View Post
ProcMem started making errors for me? Anyone know whats going wrong.

the errors:

ProcMem.cpp(29): error C2664: 'int strcmp(const char *,const char *)': cannot convert argument 1 from 'WCHAR [260]' to 'const char *'
1> ProcMem.cpp(29): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>ProcMem.cpp(56): error C2664: 'int strcmp(const char *,const char *)': cannot convert argument 1 from 'WCHAR [256]' to 'const char *'
1> ProcMem.cpp(56): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>ProcMem.cpp(59): warning C4311: 'type cast': pointer truncation from 'BYTE *' to 'DWORD'
1>ProcMem.cpp(59): warning C4302: 'type cast': truncation from 'BYTE *' to 'DWORD'
In the properties window, changet unicode character set to multibyte character set
Been over a week since last update/bump after answers, assuming solved.

/Closed.
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us