title: Duplicate entries of ENUM in two COM components
body: <p>I am using two ATL/COM component in my VC++ application with the help of following import statement.</p>
  
  <pre><code>#import "First.dll"  raw_interfaces_only, raw_native_types, no_namespace, named_guids
  #import "Second.dll"    raw_interfaces_only named_guids no_namespace no_implementation 
  </code></pre>
  
  <p>First.DLL and Second.DLL have a few repeated declarations. For example, the following enum is declared in both imported DLL files.</p>
  
  <pre><code>enum Collection
   {
      JAN,
      SEPT,
      DEC
   }
  </code></pre>
  
  <p>I want to use both DLL but am getting an error like Collection is declared twice.
  Can someone please guide me to solve this.</p>