0
0

Hi guys,

I got a simple problem. Im trying to retrieve a mp3’s name and put it into a label. Ive tried

//////////////////////////////////////////////////////////

char* GetTrackTitle()
{
char title[256];
result = m_Sound->getName(title,256);
ERRCHECK(result);
return title;
}

label.SetWindowText(GetTrackTitle());

////////////////////////////////////////////////////////

The label changes with garbage. I know this is probally something very simple I am forgeting since it is 5am here. Anyone got any ideas?

Thanks in advance!

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.