Duplicate StrRetToStr function in commdlg