By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,977 Members | 1,642 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,977 IT Pros & Developers. It's quick & easy.

error. 2872: 'IServiceProvider' : ambiguous symbol.

P: n/a
Hi,

I have a project which accesses a database via a database interface
class which uses #include microsoft library.
In the header file for this database class I have a prototype which
passes by reference a CRecordset paramater.
When i add in #include in to the header file.

I get the 2872: 'IServiceProvider' : ambiguous symbol

Can anyone help.
To summarise .. I have two files Database.cpp and Database.h. both have
to #include . When I compile i get the following error. 2872:
'IServiceProvider' : ambiguous symbol. The classis managed.

The class is a general c++ class the compiler is c++ 7.1 and the .net
framework is 1.1.

Jerry

Feb 5 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.