Have you extended the class or copy and pasted the bits you want to use into a new class?
Sorry for being blunt I have trouble with sending emails from my Samsung GALAXY S4 <div>-------- Original message --------</div><div>From: Krzysztof Lesiak <wave....@hotmail.com> </div><div>Date:19/05/2014 6:28 AM (GMT+10:00) </div><div>To: hlcoders@list.valvesoftware.com </div><div>Subject: [hlcoders] Extending prop classes - multiple inheritance </div><div> </div>Good evening, I’ve come across a problem regarding multiple inheritance: I have created a class CScannable that derives from CBaseEntity and implements common functionality for objects that I’d like to be scannable. I wanted to use this class to extend e.g. the existing prop classes, like CDynamicProp, so I’ve made a new class derived from CDynamicProp and CScannable. That’s where the problem starts and the compiler gives me this error in util.h(132): error C2385: ambiguous access of 'NetworkProp' (props.cpp) 6> could be the 'NetworkProp' in base 'CBaseEntity' 6> or could be the 'NetworkProp' in base 'CBaseEntity' How can I resolve this, or (noob question) why is this even a problem? I’ve seen examples for name conflicts with multiple inheritance on the web, but those usually involved having two different classes with the same method names, not a single base class. -Krzysztof
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders