title: Changing identifier type
body: <p>I'm working on a hack and made an overlay with DirectX however now that I have implemented it my functions are throwing errors. I looked into it and it is changing their identifier type.</p>
  <pre><code>DWORD GetProcID(const wchar_t* procName){
  
  DWORD procId = 0;
  HANDLE hSnap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
  if (hSnap != INVALID_HANDLE_VALUE)
  {
      PROCESSENTRY32 procEntry;
      procEntry.dwSize = sizeof(procEntry);
  
      if (Process32First(hSnap, &amp;procEntry))
      {
          do
          {
              if (!_wcsicmp(procEntry.szExeFile, procName))
              {
                  procId = procEntry.th32ProcessID;
                  break;
              }
          } while (Process32Next(hSnap, &amp;procEntry));
  
      }
  }
  CloseHandle(hSnap);
  return procId;}
  </code></pre>
  <p>That is one of the functions I am using. In my console app, it works fine but when I put it in my windows app(the DirectX overlay) it changes PROCESSENTRY32 to green and throws an error</p>
  <p>In the console app it looks like this</p>
  <p><img src="https://i.stack.imgur.com/sI5Ol.png" alt="snapshot of code snippet" /></p>
  <p>and the definition for the identifier is</p>
  <p><img src="https://i.stack.imgur.com/8TNLB.png" alt="snapshot of code snippet" /></p>
  <p>But in the Windows app, it looks like this</p>
  <p><img src="https://i.stack.imgur.com/OggKf.png" alt="snapshot of code snippet" /></p>
  <p>I'm new to c++ and I don't really know how to explain it but any help would be nice</p>