I have a List Control in my program. Each List Control item corresponds to a vector element. When I push_back() an element on the vector and insert an item for it into the List Control, I take the following pointer to the element,(myVectorElement*) &myVector.back(), and set the list control item data (SetItemData()) so I have a pointer to it. For some reason, when I call GetItemData() to re-retrieve the pointer - it is invalid. Can I rely on the pointer I am getting back from (myVectorElement*) &myVector.back() to always reference the element I originally pushed onto the vector?

Thanks