Solved

windows cdplayer.ini

Posted on 1998-12-06
3
155 Views
Last Modified: 2006-11-17
I need to now how to create a cd id in the same format that the cdplayer.ini file uses.

thanks for your help
0
Comment
Question by:cando
  • 2
3 Comments
 
LVL 12

Accepted Solution

by:
rwilson032697 earned 100 total points
ID: 1349478
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
 

Author Comment

by:cando
ID: 1349479
works good, but how would I read all of the information for one cd from the cdplayer.ini
0
 
LVL 12

Expert Comment

by:rwilson032697
ID: 1349480
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

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now