alright,


my problem is i wrote a class that returns a char * i can display in a message box but when i try "SetWindowText" it displays garbage e.g:

char *temp = mp3.GetTitle();
MessageBox(NULL,temp,temp,MB_OK);

SetWindowText(GetDlgItem(hwnd,IDC_ARTIST),temp);


now the message box displays it fine but the "SetWindowText" doenst please help i have no idea what it could be.

thanks in advance

chris