I recently rewrote my MP3 player and although in the past I have never coded support for reading ID3 tags (I name my files in a fashion that I never really needed to) for some reason this time I did. And I've run into a problem.
I run Win2k, and if I play the MP3 file and then try reading the tag I get errors. This problem isnt present on Win9x systems of course because they have much more lax file sharing restrictions.
So anyway, Im wondering if there is any way to read the tag after the MP3 has already started playing. I was told there are ways to make Win2k less anal about file sharing but that would mean users would also have to make the change. If it helps any, I am using a TFileStream and the fmOpenRead access mode. Originally I was using AssignFile/Reset/CloseFile and tried the TFileStream hoping to have more luck but of course I didnt...