caut_baia 9 Posting Whiz
class A  {
   virtual void func()=0;
 };

class B : public A  {
   void func ();
 };

class C : virtual public B  {
   void func();
 };

//I receive an A* pointer through a function in an LPARAM type argument 
//and i must downcast from an A* to a C*.Can anyone suggest something?Thanks
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.