I'm setting up a CObArray to handle multiple data types. For instance I have a CLaser class derived from CObject and a CSerial class derived from CObject. Let's say I place both of these objects into a CObArray object, let's call it m_DeviceArray. Now I want to populate a list box on screen that will tell me what objects are in the array. How could I do this? How could I determine the object type on the fly? I don't know what the object at element 0 is...or the object at element 5 is...but I want to "dump" the object onto the screen.