I am writing a program using Delphi 4 that will monitor printing and CD-writing tasks in my computer. I would like to track the number of print jobs/Cd's written and log the data in a file. For the printer I guess I could use system hooks to trap the message and increment a variable that tracks printouts. For CD-writing I haven't got a clue as to how or where I could obtain the needed data. Any assistance offered will be greatly appreciated. Please point me to the right path, articles or even ideas on how to go about this program. Thank you.