I want to get the tag. I wrote this:
HSTREAM song=Bass_StreamCreateFile(0,File.c_str(),0,0,0);
if (song==NULL) ShowMessage("ERROR STREAM CREATE FILE");
char *t=Bass_StreamGetTags(song,BASS_TAG_ID3);
if (t==NULL) {ShowMessage("ERROR STREAM GET TAGS");}
int lenght=strlen(t);
ShowMessage(t);
and it doesn't work. ShowMessage(t) generates application exception or shows some bushes (eg. "& @$ dsa").
Lenght is 12, 14 or 17 (it should be 128 ).
What did I do wrong? The ID# tag are OK, because Winamp shows them correctly (of course it's ID3 v.1)