ISEman Posted April 25, 2008 Posted April 25, 2008 I'm using a home-grown 'lights-out' application (i.e. one that starts automatically and runs w/o user intervention) that opens a file located on a CD, then closes it thereafter as part of an infinite loop. The problem is: Whenever the CD is manually ejected from the system, I get a "no disk" dialog window (#32770) that requires user input ('continue', 'cancel' or 'try again') before the application will continue therafter. Is there any way to disable Windows from displaying this window? My program already takes the appropriate action based upon whether the CD is inserted or not.Thanks in advance for your help!
Mijzelf Posted April 25, 2008 Posted April 25, 2008 You can suppress this message with the 'SetErrorMode' function. When you can't call this function from your program maybe this helps.
ISEman Posted April 29, 2008 Author Posted April 29, 2008 Great! Works like a charm. Thanks for the assistance!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now