Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CD eject blue-screen

1 view
Skip to first unread message

Patrick E. Hughes

unread,
Nov 22, 2000, 9:32:22 PM11/22/00
to
When my win98/95 program is actively accessing the CD-ROM drive
(streaming music) and the end-user pushes the eject button and the
door opens, I get a Blue-Screen of text asking them to insert it once
more.

This Blue-Screen destroys my exclusive-mode graphics environment. I
wish to bypass the Blue-Screen and handle the read error myself, OR
disable the eject mechanism during my program's execution.

On Win2K there is no blue-screen, only a pleasant message box which
handles the removal gracefully and my program goes on about its
business!

What can I do?

Chris Marriott

unread,
Nov 23, 2000, 3:00:00 AM11/23/00
to

Patrick E. Hughes <fresh...@earthlink.net> wrote in message
news:f70p1t0g2plt29djl...@4ax.com...

> When my win98/95 program is actively accessing the CD-ROM drive
> (streaming music) and the end-user pushes the eject button and the
> door opens, I get a Blue-Screen of text asking them to insert it once
> more.
>
> This Blue-Screen destroys my exclusive-mode graphics environment. I
> wish to bypass the Blue-Screen and handle the read error myself, OR
> disable the eject mechanism during my program's execution.

You can probably by-pass this by calling "SetErrorMode" to disable the
standard Windows critical error handler.

Regards,

--
Chris
-----------------------------------------------------------------------
Chris Marriott, SkyMap Software, UK (ch...@skymap.com)
Visit our web site at http://www.skymap.com
Astronomy software written by astronomers, for astronomers


0 new messages