Re: Enum redefinition when upgrading to VS2008
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Tue, 11 Mar 2008 12:56:42 -0400
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.
.
- Prev by Date: RE: How do I avoid 80040E21 error from AddNew after failed Update?
- Next by Date: Google Gadget
- Previous by thread: RE: How do I avoid 80040E21 error from AddNew after failed Update?
- Next by thread: Google Gadget
- Index(es):
Relevant Pages
|
|