Another Ambiguity

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Posts: 2
Joined: Tue 01 Aug 2006 21:38
Location: Texas

Another Ambiguity

Post by alexholz » Tue 01 Aug 2006 21:46


I got this error when I tried using SDAC components in a
COM Server:

[C++ Error] atlbase.h(5607): E2015 Ambiguity between 'IID_IErrorInfo' and 'Oledbplus::IID_IErrorInfo'

I know it's a conflict, but which declaration can be safely commented out?

The one in atlbase or the the one in Oledbplus?

Any info would be appreciated.



Posts: 512
Joined: Thu 26 Jan 2006 10:06

Post by Jackson » Wed 02 Aug 2006 11:12

Try to change order of #include directives in your header file.

Post Reply