I have searched the Internet and tried a lot of different things, but I can't seem to find out how to get and use the Track Length of a .cda (CD File).
I am using TMediaPlayer to play the file.
I have tried getting the MediaPlayer1.TrackLength or whatever, but it gives a huge number, and I was not able to convert it into a time format for me to use it in moving the track bar and having that particular song move forward. Any help would be greatly appreciated.
In order for me to accept your answer, I will need a solid answer in Delphi on how to get the track length and use it in a trackbar. Thanks.