Click here to Skip to main content
15,913,487 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Damn CSocket Pin
Stephane Rodriguez.17-Oct-02 6:35
Stephane Rodriguez.17-Oct-02 6:35 
GeneralRe: Damn CSocket Pin
Anonymous17-Oct-02 6:51
Anonymous17-Oct-02 6:51 
GeneralCListCtrl's rows colors Pin
RuiSantiago17-Oct-02 6:23
RuiSantiago17-Oct-02 6:23 
GeneralAPI and hardware Pin
viliam17-Oct-02 5:57
viliam17-Oct-02 5:57 
GeneralMessage Window Pin
Aaron Schaefer17-Oct-02 5:52
Aaron Schaefer17-Oct-02 5:52 
GeneralRe: Message Window Pin
Chris Richardson17-Oct-02 7:18
Chris Richardson17-Oct-02 7:18 
GeneralRe: Message Window Pin
Aaron Schaefer17-Oct-02 8:20
Aaron Schaefer17-Oct-02 8:20 
GeneralCleanly discover if a CD is in the CDROM Pin
Paul Farry17-Oct-02 4:39
professionalPaul Farry17-Oct-02 4:39 
I'm working on a little security program to ensure that invalid CD's do not get inserted into our SOE machines, and to enable this I'm building a little program to manage adding a link to the users start menu.

What I need to know is there an easy way to detect if there is a CD ROM Inserted.

I've been playing with CreateFile for the purpose which is fine, to ascertain that the actual CD that is currently in the Drive is invalid, BUT if there is no disk at all, then a No Disk in CD warning is displayed by the operating system.

Is there a way to disable the Warning(temporarily) or a better way to check for the prescence of a disk?

Thanks for any help.
GeneralRe: Cleanly discover if a CD is in the CDROM Pin
Tomasz Sowinski17-Oct-02 4:45
Tomasz Sowinski17-Oct-02 4:45 
GeneralRe: Cleanly discover if a CD is in the CDROM Pin
Paul Farry17-Oct-02 4:48
professionalPaul Farry17-Oct-02 4:48 
GeneralRe: Cleanly discover if a CD is in the CDROM Pin
Michael Dunn17-Oct-02 5:36
sitebuilderMichael Dunn17-Oct-02 5:36 
GeneralRe: Cleanly discover if a CD is in the CDROM Pin
Brian Delahunty17-Oct-02 6:16
Brian Delahunty17-Oct-02 6:16 
GeneralRe: Cleanly discover if a CD is in the CDROM Pin
Michael Dunn19-Oct-02 9:19
sitebuilderMichael Dunn19-Oct-02 9:19 
GeneralRe: Cleanly discover if a CD is in the CDROM Pin
Brian Delahunty19-Oct-02 23:37
Brian Delahunty19-Oct-02 23:37 
GeneralUnicode Resource Editor Pin
olivier17-Oct-02 4:20
olivier17-Oct-02 4:20 
GeneralRe: Unicode Resource Editor Pin
l a u r e n17-Oct-02 4:32
l a u r e n17-Oct-02 4:32 
GeneralRe: Unicode Resource Editor Pin
Anonymous17-Oct-02 4:38
Anonymous17-Oct-02 4:38 
GeneralRe: Unicode Resource Editor Pin
Maximilien17-Oct-02 5:41
Maximilien17-Oct-02 5:41 
Generalerratic behavior of right click custom popup menu Pin
ns17-Oct-02 3:29
ns17-Oct-02 3:29 
GeneralRe: erratic behavior of right click custom popup menu Pin
Tomasz Sowinski17-Oct-02 3:38
Tomasz Sowinski17-Oct-02 3:38 
GeneralGenerate header file from .lib file Pin
Wim Jans17-Oct-02 3:21
Wim Jans17-Oct-02 3:21 
GeneralRe: Generate header file from .lib file Pin
Tomasz Sowinski17-Oct-02 3:40
Tomasz Sowinski17-Oct-02 3:40 
GeneralRe: Generate header file from .lib file Pin
Wim Jans17-Oct-02 3:52
Wim Jans17-Oct-02 3:52 
GeneralRe: Generate header file from .lib file Pin
Chris Richardson17-Oct-02 7:14
Chris Richardson17-Oct-02 7:14 
QuestionWhat's the class name registered by MFC? Pin
Wenrich17-Oct-02 3:05
Wenrich17-Oct-02 3:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.