axxdsp.h in Visual Studio 2008
<p>I have a dll which builds properly in VS 2005 . The dll includes "afxdisp.h" header file which is present in the default location (C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include) . </p>

<p>// piece of code </p>

<h1>ifndef _AFX_NO_OLE_SUPPORT</h1>

<p>#include "afxdisp.h"    </p>

<h1>endif</h1>

<p>// ends</p>

<p>The same dll is not building in Visual Studio 2008 . It gives a lot of compile-time errors  saying many variables are not defined . </p>

<p>Is there some other equivalent of afxdisp.h in Visual Studio 2008 .  </p>

<p>PS : I make use of the class COleVariant which is defined in afxdisp.h ( VS 2005 ) .</p>
