I'm using the PSDR_Rect and not the TSDR_Rect. The one I use is a pointer to a rect so I create it by using "new". I'm guessing it should be freed but thanks for you reply.