🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.multimedia
Article #18

Re: Can I control DirectCD from my own app to Eject, Format, etc?

#18
From: Mikhail A
Date: Mon, 11 Oct 1999 00:00
32 lines
2851 bytes
i am not sure but...
for eject:
ShellExecute(0, "Eject", "E:\", NULL, NULL, ... )
anyway, just do ShellExecute on CD drive with EJECT verb... if explorer
can do it, let him do it :)

Mikhail

Peter Barton wrote:
> 
> I'm building a kiosk type application, which as part of its operations
> copies files onto CDR discs. The Adaptec DirectCD driver seems to work
> fine as far as making the drive accessable from my software, just like
> reading / writing a hard disk.
> 
> The big problem is ejecting discs, and also formatting discs. DirectCD
> won't let a disc be ejected until it is closed - you can't even eject
> using the eject button on the CD drive. Problem is that there will be
> no way for the user to open the DirectCD Wizard and close the disc
> manually. Is there any way programatically that I can either close the
> disc myself, tell DirectCD to close it, or even just force the disc
> out unclosed? The source code I found will only spit out a closed
> disc, otherwise it fails. I notice that Eject from Windows Explorer
> still works, so I guess they're either forcing it, or there is
> something special happening there that DirectCD knows about.
> 
> This is with DirectCD 2.5 by the way, I'm about to go and buy version
> 3 to see if that helps me at all...
> 
> Peter Barton: pbarton@tig.com.au
> P.O. Box 364, Bulleen, VIC 3105, Australia
> http://www.madmaxmovies.com/ - Mad Max!
Technical Details
Message-ID: <38019CCB.C7AF953B@hotmail.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37fd1a46.64502199@news.ozemail.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10f3c1,e067a10239e136a2
X-Google-Attributes: gid10f3c1,public
X-Google-Thread: 105837,e067a10239e136a2
X-Google-Attributes: gid105837,public
X-Google-Thread: 1024b8,e067a10239e136a2
X-Google-Attributes: gid1024b8,public
X-Google-Thread: 105df1,e067a10239e136a2
X-Google-Attributes: gid105df1,public
X-Google-Thread: 1157a2,e067a10239e136a2
X-Google-Attributes: gid1157a2,public
X-Google-Thread: 115960,e067a10239e136a2
X-Google-Attributes: gid115960,public
X-Google-Thread: f67e5,e067a10239e136a2
X-Google-Attributes: gidf67e5,public
From: Mikhail A <theamk@hotmail.com>
Subject: Re: Can I control DirectCD from my own app to Eject, Format, etc?
Date: 1999/10/11
Message-ID: <38019CCB.C7AF953B@hotmail.com>
X-Deja-AN: 535295706
Content-Transfer-Encoding: 7bit
References: <37fd1a46.64502199@news.ozemail.com.au>
X-Accept-Language: en,ru
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@home.net
X-Trace: news1.frmt1.sfba.home.com 939629862 24.5.218.254 (Mon, 11 Oct 1999 01:17:42 PDT)
Organization: @Home Network
MIME-Version: 1.0
NNTP-Posting-Date: Mon, 11 Oct 1999 01:17:42 PDT
Newsgroups: comp.os.ms-windows.programmer.multimedia,comp.os.ms-windows.programmer.misc,microsoft.public.win32.programmer.mmedia,alt.comp.periphs.cdr,comp.publish.cdrom.multimedia,comp.publish.cdrom.software,creative.products.cdrw