Enum redefinition when upgrading to VS2008



I just finished upgrading to Visual Studio 2008. When I compiled for
the first time I got this error message which I didn't get in Visual
Studio 2002. As the error indicates the redefinition conflict is
between two ADO include files.

What is the recomended way to correct this???

Thanks, Neil

***************** ERROR MSG ******************************
1>c:\program files\microsoft sdks\windows\v6.0a\include\dbdaoint.h(138) :
error C2011: 'DataTypeEnum' : 'enum' type redefinition
1> c:\actbooks dev 2007\debug\msado15.tlh(276) : see declaration of
'DataTypeEnum'
.



Relevant Pages

  • Upgrade to 2008 conflicting classes
    ... I just finished upgrading to Visual Studio 2008. ... the first time I got this error message which I didn't get in Visual ...
    (microsoft.public.vsnet.general)
  • Error 07002 - SQLBindParameter Problem Shorter Example
    ... Here is a shorter code example since the last message I posted got ... 'Data Access VB App.exe': Loaded ... The majority of the code was generated by Visual Studio and based on the ... error message it would seem that I have to add SQLBindParameter ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Error 07002 - SQLBindParameter Problem Shorter Example
    ... Cor ... Here is a shorter code example since the last message I posted got ... > The majority of the code was generated by Visual Studio and based on the ... > error message it would seem that I have to add SQLBindParameter ...
    (microsoft.public.dotnet.languages.vb)
  • Error 07002 - SQLBindParameter Problem Shorter Example
    ... Here is a shorter code example since the last one I posted was ... 'Data Access VB App.exe': Loaded ... The majority of the code was generated by Visual Studio and based on the ... error message it would seem that I have to add SQLBindParameter ...
    (microsoft.public.sqlserver.odbc)
  • RE: ADODB.Stream.Open now with VS2005 gives wrong type error message
    ... We do not recommend using ADODB interop to do data access in Visual Studio ... ADODB.Stream.Open now with VS2005 gives wrong type error message ... ADODB.Stream oStream; ...
    (microsoft.public.data.ado)

Loading