Hi All,
I am trying to compile an existing C++ unamanaged application with the /clr switch in VS.Net 2003, as I need to use managed extensions in the code.
In a cpp file I have the following code :
CString strRet;
COleVariant var = m_pRSTFormList->GetFieldValue( "FormName") ;
if(var.vt == VT_BSTR)
strRet = var.pbVal;
However the compiler gives the following...