NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error C2386

ambiguous conversion from 'type1*' to 'type2*'

The conversion can be done more than one way.

Possible solutions

Warning C4386 provides additional information about the ambiguity.

Example

struct A {};
struct B : A {};
struct C : A {};
struct D : B, C {};
void bup ()
{
   D *pD;
   A *pA;
   pA = pD;            // error
}