Ok, so i’ve been tracking this for a bit now and i keep getting the same error multiple times it lookslike the object keeps getting added to the list and it’s already there in the list resulting in the error. Anyone have any other ideas. here is the following error and code where it errors at:
1>c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\include\atlcomcli.h(332): error C2143: syntax error : missing ‘)’ before ‘&&’
1> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\include\atlcomcli.h(350) : see reference to class template instantiation ‘ATL::CComPtr’ being compiled
here is the code area from the atlcomcli.h file
that throws the error
CComPtr(_Inout_ CComPtr<T>&& lp) throw() :
CComPtrBase<T>()
{
p = lp.p;
lp.p = NULL;
}