title: LoadString(AFX_IDP_PARSE_INT) fails in an mfc exe (not in a dll)
body: <p><code>AFX_IDP_PARSE_INT</code> is the id for a standard MFC error message (it's defined in afxres.h), but in my project it fails to load, meaning that <code>LoadString</code> returns <code>FALSE</code>, <code>GetLastError</code> returns <code>ERROR_RESOURCE_NAME_NOT_FOUND</code>, and CString stays empty.</p>
  
  <p>This happens even when I try loading it at the beginning of InitInstanse:</p>
  
  <pre><code>BOOL CMyLegacyProject::InitInstance()
  {
      CString string;
      if (!string.LoadString(AFX_IDP_PARSE_INT))
              AfxMessageBox(_T("Failed."));
  }
  </code></pre>
  
  <p>This same code works on a new project, however - same linking of MFC (I link to it statically), same WINVER, I've tried making it as similar as my old project, but I can't reproduce the error on a newly started project.</p>