Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

C++ Error in file comsvcs.h

16 views
Skip to first unread message

Bruce M. Axtens

unread,
Nov 10, 2008, 10:28:05 PM11/10/08
to
G'day everyone

I'm a newbie to C++ and even more so to Borland Turbo C++ Explorer. I've
just encountered this compile error. Any clues as to how to fix it? And
is this the right place to talk about it?

[C++ Error] comsvcs.h(3209): E2015 Ambiguity between 'ITransaction' and
'Oledb::ITransaction'
[C++ Error] comsvcs.h(3275): E2015 Ambiguity between 'ITransaction' and
'Oledb::ITransaction'
[C++ Error] comsvcs.h(16197): E2015 Ambiguity between 'ITransaction' and
'Oledb::ITransaction'
[C++ Error] comsvcs.h(16293): E2015 Ambiguity between 'ITransaction' and
'Oledb::ITransaction'

The code where the first one occurs is

EXTERN_C const IID IID_ICreateWithTransactionEx;

#if defined(__cplusplus) && !defined(CINTERFACE)

MIDL_INTERFACE("455ACF57-5345-11d2-99CF-00C04F797BC9")
ICreateWithTransactionEx : public IUnknown
{
public:
virtual /* [helpstring][helpcontext] */ HRESULT
STDMETHODCALLTYPE CreateInstance(
/* [in] */ ITransaction *pTransaction,
/* [in] */ REFCLSID rclsid,
/* [in] */ REFIID riid,
/* [iid_is][retval][out] */ void **pObject) = 0;

};

Kind regards,
Bruce.

-- Posted on news://freenews.netfront.net - Complaints to ne...@netfront.net --

0 new messages