Upgrade to VS2005 gives problem with atlcom.h

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<p class=MsoNormal style="margin:0in 0in 0pt <b><span style="font-size:8pt;font-family:Courier New Hi all,</b>
<p class=MsoNormal style="margin:0in 0in 0pt <b><span style="font-size:8pt;font-family:Courier New  </b>
<p class=MsoNormal style="margin:0in 0in 0pt <b><span style="font-size:8pt;font-family:Courier New I have been assigned a task to upgrade a solution to VS2005.The solution is originally written in VS2003 and Compile with 0 error and 0 warning in VS2003. This solution contains 48 Projects.</b>
<p class=MsoNormal style="margin:0in 0in 0pt <span style="font-size:8pt;font-family:Courier New  
<p class=MsoNormal style="margin:0in 0in 0pt <b><span style="font-size:8pt;font-family:Courier New  </b>
<p class=MsoNormal style="margin:0in 0in 0pt <b><span style="font-size:8pt;font-family:Courier New When I build this Solution in VS2005 than it gives following error</b>
<p class=MsoNormal style="margin:0in 0in 0pt <b><span style="font-size:8pt;font-family:Courier New </b>  <span style="font-size:8pt;font-family:Courier New
<p class=MsoNormal style="margin:0in 0in 0pt Error 5 error C2664: ATL::_CopyInterface<T>::copy : cannot convert parameter 2 from ISTDBResource ** to ISTPlayListEvent ** C:Program FilesMicrosoft Visual Studio 8VCatlmfcincludeatlcom.h 5114 
Error 1 error C2664: _CopyBSTRtoBSTR::copy : cannot convert parameter 2 from ISTDBResource ** to _bstr_t * C:Program FilesMicrosoft Visual Studio 8VCatlmfcincludeatlcom.h 5114 
Error 6 error C2065: ISTDBResource : undeclared identifier C:Program FilesMicrosoft Visual Studio 8VCatlmfcincludeatlcom.h 5114

<p class=MsoNormal style="margin:0in 0in 0pt <b><span style="font-size:8pt;font-family:Courier New The Same error are repeated more than 500 times.</b>
<p class=MsoNormal style="margin:0in 0in 0pt <b><span style="font-size:8pt;font-family:Courier New </b> 
<p class=MsoNormal style="margin:0in 0in 0pt <b><span style="font-size:8pt;font-family:Courier New All errors are in atlcom.h file on line 5114.</b>
<p class=MsoNormal style="margin:0in 0in 0pt <b><span style="font-size:8pt;font-family:Courier New </b> 
<p class=MsoNormal style="margin:0in 0in 0pt <b><span style="font-size:8pt;font-family:Courier New Please guide me how to sovle it.</b>
<p class=MsoNormal style="margin:0in 0in 0pt <b><span style="font-size:8pt;font-family:Courier New I have no Clue Why it is giving error in Microsoft header file.</b>
<p class=MsoNormal style="margin:0in 0in 0pt <b><span style="font-size:8pt;font-family:Courier New </b> 
<p class=MsoNormal style="margin:0in 0in 0pt <b><span style="font-size:8pt;font-family:Courier New </b> 
<p class=MsoNormal style="margin:0in 0in 0pt <b><span style="font-size:8pt;font-family:Courier New Thanks</b>
<p class=MsoNormal style="margin:0in 0in 0pt <b><span style="font-size:8pt;font-family:Courier New Ravi</b>
<p class=MsoNormal style="margin:0in 0in 0pt  

View the full article
 
Back
Top