Re: Enum redefinition when upgrading to VS2008



Neil B wrote:
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'

Beyond suspecting that you have references to two conflicting class
libraries, I haven't a clue (have you tried google?), but you'll
probably have a better chance of finding someone who does in the vsnet
or adonet newsgroups:
this group is focussed on classic (pre-.Net) ADO.

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.


.



Relevant Pages

  • Re: How to Mimic Access Externally Linked Tables using ADO?
    ... > using SQL Server for efficiency reasons. ... > connection up programmatically using ADO or ADOX or some SQL Server API? ... >> newsgroup, but if you have a good reason to send me e-mail, you'll find ... ADO does not have a query engine. ...
    (microsoft.public.data.ado)
  • Re: Brand Spankin Newbie ADO.NET Question
    ... This posting is provided "AS IS" with no warranties, and confers no rights. ... > examples in my Apress book "ADO.NET and ADO Examples and Best Practices" ... > Microsoft MVP ... > Please reply only to the newsgroup so that others can benefit. ...
    (microsoft.public.vb.database.ado)
  • Re: Form data output
    ... > CSV file. ... Access to extract the data from Word or the text file (ADO or DAO ... reply in the newsgroup and not by e-mail :-) ...
    (microsoft.public.word.vba.userforms)
  • Re: ADO and "Bad" Dates
    ... > 6 bytes in the ADO field object. ... >> William (Bill) Vaughn ... >> Microsoft MVP ... >> Please reply only to the newsgroup so that others can benefit. ...
    (microsoft.public.data.ado)
  • Re: ADO and "Bad" Dates
    ... > 6 bytes in the ADO field object. ... >> William (Bill) Vaughn ... >> Microsoft MVP ... >> Please reply only to the newsgroup so that others can benefit. ...
    (microsoft.public.vb.database.ado)