windows cdplayer.ini

I need to now how to create a cd id in the same format that the cdplayer.ini file uses.

thanks for your help
candoAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
rwilson032697Connect With a Mentor Commented:
Try this (from an example in my CDPLAYER.INI file)

with TIniFile.Create('C:\Windows\CDPLAYER.INI') do
  try
    WriteInteger('2D17961','EntryType', 1);
    WriteString('2D17961, 'artist', 'New Artist');
    WriteString('2D17961, 'title', 'New Title');
    WriteInteger('2D17961', 'numtracks', 20);
    WriteString('2D17961, 'order', '');
    WriteInteger('2D17961', 'numplay', 0);
  finally
    Free;
  end;

Cheers,

Raymond
0
 
candoAuthor Commented:
works good, but how would I read all of the information for one cd from the cdplayer.ini
0
 
rwilson032697Commented:
Look at the ReadString etc methods of TIniFile. Basically do the same in my code but use the read methods instead of the write methods.

Cheers,

Raymond.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.