A
almurph
Hi,
I have a base class that other derived classes inherit from. I want
to be able to access properties of the dervied class from the base
class automatically i.e. the base class must be able to automatically
determine the derived class name details on runtime i.e i don't want
to have to hard code an object of the derived class but rather let the
system dod it automatically.
Anyone with any ideas as to how to do this. I have been playing with
MemInfo class but i don;t think this can do what i want.
Any comments/suggestions/code samples/articles would be most
appreciated.
Cheers,
Al.
I have a base class that other derived classes inherit from. I want
to be able to access properties of the dervied class from the base
class automatically i.e. the base class must be able to automatically
determine the derived class name details on runtime i.e i don't want
to have to hard code an object of the derived class but rather let the
system dod it automatically.
Anyone with any ideas as to how to do this. I have been playing with
MemInfo class but i don;t think this can do what i want.
Any comments/suggestions/code samples/articles would be most
appreciated.
Cheers,
Al.