Click here to Skip to main content
15,895,084 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Vista issues Pin
Anilkumar K V30-Jan-07 21:36
Anilkumar K V30-Jan-07 21:36 
Questiondeleting all files from a folder, but one Pin
snoopy_32130-Jan-07 3:15
snoopy_32130-Jan-07 3:15 
AnswerRe: deleting all files from a folder, but one Pin
David Crow30-Jan-07 3:18
David Crow30-Jan-07 3:18 
GeneralRe: deleting all files from a folder, but one Pin
Laxman Auti30-Jan-07 20:25
Laxman Auti30-Jan-07 20:25 
GeneralRe: deleting all files from a folder, but one Pin
snoopy_32130-Jan-07 23:48
snoopy_32130-Jan-07 23:48 
AnswerRe: deleting all files from a folder, but one Pin
Hamid_RT30-Jan-07 7:32
Hamid_RT30-Jan-07 7:32 
QuestionHow to tell if a removable drive is a CD or USB Pin
tieng8630-Jan-07 2:49
tieng8630-Jan-07 2:49 
AnswerRe: How to tell if a removable drive is a CD or USB Pin
Blake Miller30-Jan-07 4:48
Blake Miller30-Jan-07 4:48 
Try GetDriveType to see if that helps make a distinction.

The GetDriveType function determines whether a disk drive is a removable, fixed, CD-ROM, RAM disk, or network drive.

Return Values
The return value specifies the type of drive. It can be one of the following values.

Value Meaning
DRIVE_UNKNOWN The drive type cannot be determined.
DRIVE_NO_ROOT_DIR The root path is invalid, for example, no volume is mounted at the path.
DRIVE_REMOVABLE The drive is a type that has removable media, for example, a floppy drive or removable hard disk.
DRIVE_FIXED The drive is a type that cannot be removed, for example, a fixed hard drive.
DRIVE_REMOTE The drive is a remote (network) drive.
DRIVE_CDROM The drive is a CD-ROM drive.
DRIVE_RAMDISK The drive is a RAM disk.


Maybe you get different value for CD-ROM and the Pen Drive ?
GeneralRe: How to tell if a removable drive is a CD or USB Pin
tieng8630-Jan-07 8:00
tieng8630-Jan-07 8:00 
AnswerRe: How to tell if a removable drive is a CD or USB Pin
James R. Twine30-Jan-07 7:46
James R. Twine30-Jan-07 7:46 
GeneralRe: How to tell if a removable drive is a CD or USB Pin
tieng8630-Jan-07 8:21
tieng8630-Jan-07 8:21 
QuestionMFC Sockets Pin
Member 253245430-Jan-07 1:19
Member 253245430-Jan-07 1:19 
AnswerRe: MFC Sockets Pin
Nibu babu thomas30-Jan-07 1:38
Nibu babu thomas30-Jan-07 1:38 
GeneralRe: MFC Sockets Pin
Hamid_RT30-Jan-07 2:09
Hamid_RT30-Jan-07 2:09 
GeneralRe: MFC Sockets Pin
Nibu babu thomas1-Feb-07 20:43
Nibu babu thomas1-Feb-07 20:43 
GeneralRe: MFC Sockets Pin
Hamid_RT2-Feb-07 4:09
Hamid_RT2-Feb-07 4:09 
AnswerRe: MFC Sockets Pin
Hamid_RT30-Jan-07 2:08
Hamid_RT30-Jan-07 2:08 
QuestionHow to Insert Object... Pin
Shah Satish30-Jan-07 0:59
Shah Satish30-Jan-07 0:59 
AnswerRe: How to Insert Object... Pin
Roger Stoltz30-Jan-07 1:15
Roger Stoltz30-Jan-07 1:15 
GeneralRe: How to Insert Object... Pin
Shah Satish30-Jan-07 1:20
Shah Satish30-Jan-07 1:20 
GeneralRe: How to Insert Object... Pin
Roger Stoltz30-Jan-07 1:44
Roger Stoltz30-Jan-07 1:44 
GeneralRe: How to Insert Object... Pin
Shah Satish30-Jan-07 1:53
Shah Satish30-Jan-07 1:53 
GeneralRe: How to Insert Object... Pin
jhwurmbach30-Jan-07 2:40
jhwurmbach30-Jan-07 2:40 
GeneralRe: How to Insert Object... Pin
Shah Satish30-Jan-07 2:46
Shah Satish30-Jan-07 2:46 
GeneralRe: How to Insert Object... Pin
jhwurmbach30-Jan-07 2:51
jhwurmbach30-Jan-07 2:51 

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.