Click here to Skip to main content
15,892,059 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: How to judge the status of CD/DVD-Rom door? Pin
toxcct23-Jan-06 21:27
toxcct23-Jan-06 21:27 
General[Message Deleted] Pin
Owner drawn23-Jan-06 21:32
Owner drawn23-Jan-06 21:32 
JokeRe: How to judge the status of CD/DVD-Rom door? Pin
Cedric Moonen23-Jan-06 21:34
Cedric Moonen23-Jan-06 21:34 
GeneralRe: How to judge the status of CD/DVD-Rom door? Pin
Owner drawn23-Jan-06 21:38
Owner drawn23-Jan-06 21:38 
GeneralRe: How to judge the status of CD/DVD-Rom door? Pin
toxcct23-Jan-06 22:10
toxcct23-Jan-06 22:10 
GeneralRe: How to judge the status of CD/DVD-Rom door? Pin
Owner drawn23-Jan-06 22:12
Owner drawn23-Jan-06 22:12 
GeneralRe: How to judge the status of CD/DVD-Rom door? Pin
Syouki_kou23-Jan-06 23:12
Syouki_kou23-Jan-06 23:12 
GeneralRe: How to judge the status of CD/DVD-Rom door? Pin
Owner drawn24-Jan-06 0:35
Owner drawn24-Jan-06 0:35 
This will help you...

TCHAR szBuffer[MAX_PATH];
TCHAR szFileName[MAX_PATH];
DWORD dwFlags = FILE_READ_ONLY_VOLUME;
DWORD dwSerial;
DWORD dwCompLen;
BOOL bRes = GetVolumeInformation(_T("E:\\"), szBuffer, MAX_PATH, &dwSerial, &dwCompLen, &dwFlags, szFileName, MAX_PATH);	
if(bRes == FALSE)
    MessageBox("There is not CD-ROM in the Drive");


Jesus LovesRose | [Rose]
<marquee direction="up" height="40" scrolldelay="1" step="1" scrollamount="1" style="background:#aabbcc;border-bottom:thin solid 1px #6699cc">
--Owner DrawnRose | [Rose]
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is LordRose | [Rose]

GeneralRe: How to judge the status of CD/DVD-Rom door? Pin
Syouki_kou24-Jan-06 4:37
Syouki_kou24-Jan-06 4:37 
GeneralRe: How to judge the status of CD/DVD-Rom door? Pin
Syouki_kou24-Jan-06 14:12
Syouki_kou24-Jan-06 14:12 
QuestionCPropertyPage & CComboBox does not reset its content Pin
sdancer7523-Jan-06 20:23
sdancer7523-Jan-06 20:23 
AnswerRe: CPropertyPage &amp;amp; CComboBox does not reset its content Pin
sps-itsec4623-Jan-06 21:04
sps-itsec4623-Jan-06 21:04 
GeneralRe: CPropertyPage &amp;amp; CComboBox does not reset its content Pin
sdancer7524-Jan-06 5:24
sdancer7524-Jan-06 5:24 
QuestionFind what is that application that access my data Pin
saravana pandy23-Jan-06 20:12
saravana pandy23-Jan-06 20:12 
AnswerRe: Find what is that application that access my data Pin
Cedric Moonen23-Jan-06 20:34
Cedric Moonen23-Jan-06 20:34 
GeneralRe: Find what is that application that access my data Pin
saravana pandy23-Jan-06 20:45
saravana pandy23-Jan-06 20:45 
GeneralRe: Find what is that application that access my data Pin
Cedric Moonen23-Jan-06 20:52
Cedric Moonen23-Jan-06 20:52 
GeneralRe: Find what is that application that access my data Pin
saravana pandy23-Jan-06 21:10
saravana pandy23-Jan-06 21:10 
GeneralRe: Find what is that application that access my data Pin
Cedric Moonen23-Jan-06 21:17
Cedric Moonen23-Jan-06 21:17 
GeneralRe: Find what is that application that access my data Pin
saravana pandy24-Jan-06 5:15
saravana pandy24-Jan-06 5:15 
QuestionSending message from one window to another Pin
Irina Tseitlin23-Jan-06 19:45
Irina Tseitlin23-Jan-06 19:45 
AnswerRe: Sending message from one window to another Pin
Gavin Taylor23-Jan-06 19:52
professionalGavin Taylor23-Jan-06 19:52 
AnswerRe: Sending message from one window to another Pin
S Douglas24-Jan-06 21:07
professionalS Douglas24-Jan-06 21:07 
Questionis this tricky Pin
anup nambiar23-Jan-06 19:22
anup nambiar23-Jan-06 19:22 
AnswerRe: is this tricky Pin
Gavin Taylor23-Jan-06 19:49
professionalGavin Taylor23-Jan-06 19:49 

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.