I have a TCHAR define below:
TCHAR szProcessName[MAX_PATH] = TEXT(\"\");
and I want to comapare as below:
if(sz
"NDSClient.exe" is a const char* string on windows. If you want it to become a const TCHAR* then you need to use the TEXT macro. Also, you can not compare strings using == use a equivalent TCHAR function such as _tcscmp.
"NDSClient.exe"
const char*
const TCHAR*
TEXT
==
TCHAR
_tcscmp