title: An argument of type WCHAR* is not compatible with parameter of type const char*
body: <p>So, I was trying to get my process' base address with this code</p>
  <pre class="lang-cpp prettyprint-override"><code>
  MODULEENTRY32 GetBaseAddr(DWORD pid, const char* cProcName) {
      MODULEENTRY32 modEntry;
  
      HANDLE hSnap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid);
  
      if (hSnap != INVALID_HANDLE_VALUE) {
          modEntry.dwSize = sizeof(modEntry);
  
          if (Module32First(hSnap, &amp;modEntry)) {
              while (Module32Next(hSnap, &amp;modEntry)) {
                  if (!   strcmp(modEntry.szModule, cProcName)) {
                      break;
                  }
              }
          }
      }
  }
  </code></pre>
  <p>On the strcmp says that <code>An argument of type WCHAR* is not compatible with parameter of type const char*</code>. I don't find any solution for that.</p>
  <p>Sorry for my bad english.</p>