The class specified by pNewClassName must be a descendant of the class specified by pOldClassName, otherwise an error will be returned. Replacing an object is useful if it is desired to modify the behavior of objects which are instances of the class pOldClassName and which are not aware of the class pNewClassName.


[Back] [Next]