title: C++, VS 2015, fatal error: duplicate resource. type:MANIFEST, name:1, language:0x0409
body: <p>Everywhere I searched there is only one solution - to set "Embed manifest" as NO in the properties of the project. 
  But I need the manifest for setting my project run under admin privileges (otherwise I can't create raw socket properly).
  So the question is how this problem can be solved without excluding manifest.. 
  There is a manifest file:</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
  &lt;assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"&gt; 
  &lt;assemblyIdentity 
      version="1.0.0.0" 
      processorArchitecture="X86" 
      name="Microsoft.Windows.Sniffer"
      type="win32" 
  /&gt; 
  &lt;description&gt;Your app description here&lt;/description&gt; 
  &lt;dependency&gt; 
      &lt;dependentAssembly&gt; 
          &lt;assemblyIdentity 
              type="win32" 
              name="Microsoft.Windows.Common-Controls" 
              version="6.0.0.0" 
              processorArchitecture="X86" 
              publicKeyToken="6595b64144ccf1df" 
              language="*" 
          /&gt; 
      &lt;/dependentAssembly&gt; 
  &lt;/dependency&gt; 
  &lt;/assembly&gt;
  </code></pre>
  
  <p>And here is "Resource.h"</p>
  
  <pre><code>#define IDR_MANIFEST                    1
  #define IDM_ABOUTBOX                    0x0010
  #define IDI_COMP2COMP                   16
  #define IDD_ABOUTBOX                    100
  #define IDS_ABOUTBOX                    101
  #define IDD_SNIFFER_DIALOG              102
  #define IDR_MAINFRAME                   128
  #define IDI_IPHeader                    130
  #define IDI_ICON2                       131
  #define IDI_TCPHEADER                   131
  #define IDC_FRM_INTERFACES              1000
  #define IDC_CMB_INTERFACES              1001
  #define IDC_STARTSNIFFING               1004
  #define IDC_TV_PACKETS                  1005
  
  // Next default values for new objects
  // 
  #ifdef APSTUDIO_INVOKED
  #ifndef APSTUDIO_READONLY_SYMBOLS
  #define _APS_NEXT_RESOURCE_VALUE        132
  #define _APS_NEXT_COMMAND_VALUE         32771
  #define _APS_NEXT_CONTROL_VALUE         1006
  #define _APS_NEXT_SYMED_VALUE           101
  #endif
  #endif
  </code></pre>