Why don't you just define the 'setError' method as virtual or pure virtual in classB, then change it in classA. Any classA object cast into a classB will then have access to classA's setError
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 6 of 6
Threaded View
Tags for this Thread |
Click Here to Expand Forum to Full Width |