title: C Warning when comparing strings
body: <p>I have the following code to check if the process path has the value iexplore.exe:</p>
  <pre><code>void GetDataElement(WCHAR process_name[MAX_PATH]){
  
  CHAR *IEName = &quot;iexplore.exe&quot;;
  ...
  
  GetModuleFileNameExW(hProcess,NULL,process_name,MAX_PATH)
  
  ...
  
  if(strstr(process_name,IEName)!=NULL){
     ...
  }
  </code></pre>
  <p>However, I am getting the following warning:</p>
  <blockquote>
  <p>'function': incompatible types - from 'WCHAR *' to 'const char *'</p>
  </blockquote>
  <p>I do not know how to convert my variable <code>process_name</code> into const char *, in order to remove that warning.</p>