Thanx Ryan. Very helpful. You have a comment that "This is where the tr1::bad_weak_ptr happens". Is this something that still needs to be addressed in your code or is there a solution already?The code I posted fixes this problem. I just didn't remove the comment. Sorry for the confusion.Thanks in advanceGanesh