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 --