﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <description><![CDATA[Comments for How to programmatically open and close the CD-Rom drive.]]></description>
    <title><![CDATA[Comments for How to programmatically open and close the CD-Rom drive.]]></title>
    <link>http://dn.codegear.com/article/28956</link>
    <!-- source: http://dn.codegear.com/article/28956/feed-->
    <dc:date>2008-11-21T15:27:24-08:00</dc:date>
    <item>
      <description><![CDATA[Improved close function, tested on XP only:program CDROM_Close;{$APPTYPE CONSOLE}uses  SysUtils,  MMSystem;begin  if ParamCount &lt;&gt; 1 then    WriteLn('Give drive letter as parameter')  else  begin    // Close drive X:    mciSendString(PChar('open cdaudio!' + ParamStr(1) + ': alias drive'), nil, 0, 0);    mciSendString('set drive door closed wait', nil, 0, 0);    WriteLn('Drive ' + ParamStr(1) + ' closed');  end;end.]]></description>
      <title><![CDATA[re: How to programmatically open and close the CD-Rom drive.]]></title>
      <managingEditor>
	 (Bas Groot)
</managingEditor>
      <guid isPermaLink="true">http://threads.codegear.com/threads/threads.exe/view?commentid=37730</guid>
      <dc:date>2004-10-23T13:39:10-07:00</dc:date>
      <pubDate>2004-10-23T13:39:10-07:00</pubDate>
      <source url="http://dn.codegear.com/article/28956/feed">Comments for How to programmatically open and close the CD-Rom drive.</source>
    </item>
    <item>
      <description><![CDATA[I use Delphi v5 and Windows XP. The four functions work fine except that when you start your program the fourth function (ie, "close specific drive") does not work until you first open the drive with the third function (ie, "open specific drive").Personally, I think that makes functions #3 and #4 useless. If it doesn't work reliably it's not worth using at all.]]></description>
      <title><![CDATA[How to programmatically open and close the CD-Rom drive.]]></title>
      <managingEditor>
	 (Craven Weasel)
</managingEditor>
      <guid isPermaLink="true">http://threads.codegear.com/threads/threads.exe/view?commentid=34792</guid>
      <dc:date>2003-06-14T13:50:46-07:00</dc:date>
      <pubDate>2003-06-14T13:50:46-07:00</pubDate>
      <source url="http://dn.codegear.com/article/28956/feed">Comments for How to programmatically open and close the CD-Rom drive.</source>
    </item>
    <item>
      <description><![CDATA[I am using Windows XP Home Edition and Delphi 6. My CD-ROM is a single button CD-ROM. The progrgam works perfect, but I was wandering if it can be opened and closed from the same button.]]></description>
      <title><![CDATA[How to programmatically open and close the CD-Rom drive.]]></title>
      <managingEditor>
	 (Radu Alexandru Popescu)
</managingEditor>
      <guid isPermaLink="true">http://threads.codegear.com/threads/threads.exe/view?commentid=34528</guid>
      <dc:date>2003-04-27T06:48:12-07:00</dc:date>
      <pubDate>2003-04-27T06:48:12-07:00</pubDate>
      <source url="http://dn.codegear.com/article/28956/feed">Comments for How to programmatically open and close the CD-Rom drive.</source>
    </item>
    <item>
      <description><![CDATA[The close function doesn't work!Only the open works fine...]]></description>
      <title><![CDATA[How to programmatically open and close the CD-Rom drive.]]></title>
      <managingEditor>
	 (Joubert Attila)
</managingEditor>
      <guid isPermaLink="true">http://threads.codegear.com/threads/threads.exe/view?commentid=34222</guid>
      <dc:date>2003-03-06T03:26:17-08:00</dc:date>
      <pubDate>2003-03-06T03:26:17-08:00</pubDate>
      <source url="http://dn.codegear.com/article/28956/feed">Comments for How to programmatically open and close the CD-Rom drive.</source>
    </item>
    <generator>Atom 1.0 XSLT Transform v1 (http://atom.geekhood.net)</generator>
  </channel>
</rss>