using console application the problem is i am set propety on Unicode and that cause a problem in this line if(!strcmp(pe32.szExeFile, ProcessName))
error there (pe32.szExeFile)
error info
Error (active) argument of type "WCHAR *" is incompatible with parameter of type "const char *"
Error C2664 'int strcmp(const char *,const char *)': cannot convert argument 1 from 'WCHAR [260]' to 'const char *'
to fix it need to change Property to Multi-Byte but can't do
that because others functions depend on Unicode so is there other way or fix for that to check the process is running or no ?!
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum