title: Issue in compiling with marshal.h : error C2872: 'IServiceProvider' : ambiguous symbol
body: <p>I am trying to use the marshalling library in my C++/CLI project. When compiled with <code>#include &lt;msclr/marshal.h&gt;</code> I get the error <code>error C2872: 'IServiceProvider' : ambiguous symbol</code>. Most of the resolutions seems to be suggesting moving <code>#include &lt;windows.h&gt;</code>
  like the one here -> <a href="http://msdn.microsoft.com/en-us/library/aa712965%28VS.71%29.aspx">Ambiguous references</a>, but I dont have those includes. All I have is:</p>
  
  <pre><code>using namespace System;
  using namespace System::Configuration;
  using namespace std;
  #include &lt;msclr/marshal.h&gt;
  </code></pre>
  
  <p>How do I debug this issue ?</p>