Ok so lets say you have a base class called Object.
you also have another class that derives from class Object called subObject
you lastly have a pointer to a void called pVoid, which i think you could make by doing this:now if you had:Code:void* pVoid
and did this:Code:Object* pObject = new subObject;
would pVoid be a pointer to the new subObject, in the sense that you could do:Code:pVoid = dynamic_cast<(pObject*)>(pVoid);NOTE: both classes are normal, not virtualCode:pVoid->(memberfunction of subObject)();