Subj : Q: referencing a stack to heap object To : borland.public.cpp.borlandcpp From : "alex" Date : Fri Feb 27 2004 05:46 am I hope this is the right forum to ask. I have created a class called 'Test', and instantiate it into stack (Test1) and heap objects (as TList). At certain point I would like to reference my stack object to the heap object as follow: Test1 = (Test*) testSet->Items[i]; yet I got an error message: Could not find a match for 'Test::operator =(Test*)' I am quite new to CPP so any help would be greatly appreciated thanks .