View Single Post
Old 07-28-2006, 06:31 PM   #7 (permalink)
DJMaze
Senior Contributor
 
DJMaze's Avatar
 
Join Date: Mar 2005
Posts: 741
DJMaze is on a distinguished road
ID3_Tag::ID3_Tag(char const*) ???

It's not a class nor a namespace. It's pure C.
Code:
ID3Tag *FileID3 = ID3Tag_New();
ID3Tag_LinkWithFlags(FileID3, "example.mp3", ID3TT_ID3);

if (ID3Tag_HasTagType(FileID3, ID3TT_ID3V2))
{
	MessageBox(0,"We have an ID3v2 tag!", "");
}
if (ID3Tag_HasTagType(FileID3, ID3TT_ID3V1))
{
	MessageBox(0,"We have an ID3v1 tag!", "");
}
ID3Tag_Clear(FileID3);
Why? Because you can't use classes that are compiled with one compiler into another compiler.
my id3lib.dll is compiled using MS VS6 but used with many compilers.
DJMaze is offline   Reply With Quote