Click here to Skip to main content
15,891,840 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to replace Microsoft system MessageBox Pin
Rage16-Aug-06 5:25
professionalRage16-Aug-06 5:25 
GeneralRe: How to replace Microsoft system MessageBox Pin
xiayingang17-Aug-06 20:41
xiayingang17-Aug-06 20:41 
AnswerRe: How to replace Microsoft system MessageBox Pin
A_Fa16-Aug-06 21:06
A_Fa16-Aug-06 21:06 
AnswerRe: How to replace Microsoft system MessageBox Pin
Hamid_RT17-Aug-06 6:13
Hamid_RT17-Aug-06 6:13 
QuestionHow To add a Dialog Window in The MDI Pin
cybersadhu16-Aug-06 3:57
cybersadhu16-Aug-06 3:57 
AnswerRe: How To add a Dialog Window in The MDI Pin
Maximilien16-Aug-06 4:07
Maximilien16-Aug-06 4:07 
AnswerRe: How To add a Dialog Window in The MDI Pin
Hamid_RT16-Aug-06 22:08
Hamid_RT16-Aug-06 22:08 
QuestionCreateFile question Pin
Tushar Mahajan16-Aug-06 3:32
Tushar Mahajan16-Aug-06 3:32 
Hi,

I am using CreateFile API for getting handle of the shared drive hardware.

HANDLE hDrive = ::CreateFile("\\\\.\\PHYSICALDRIVE0", GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL,OPEN_EXISTING, 0,NULL );

i want to to issue the commands to the hardware using the handle(hDrive ). But some commands works with "\\\\.\\PHYSICALDRIVE0" and some commands works if i give the "Scsi3:" parameter instead of Drive name("\\\\.\\PHYSICALDRIVE0").

I am unable to understand what is the difference between these two; calling CreateFile using Drive name and using "Scsi3:" as a parameter.

Thanks
Tushar.
AnswerRe: CreateFile question Pin
Mircea Puiu16-Aug-06 23:06
Mircea Puiu16-Aug-06 23:06 
QuestionInclude Files and Folder Structure Pin
pgav16-Aug-06 3:28
pgav16-Aug-06 3:28 
AnswerRe: Include Files and Folder Structure Pin
Chris Losinger16-Aug-06 3:32
professionalChris Losinger16-Aug-06 3:32 
AnswerRe: Include Files and Folder Structure Pin
Cedric Moonen16-Aug-06 3:32
Cedric Moonen16-Aug-06 3:32 
GeneralRe: Include Files and Folder Structure Pin
pgav16-Aug-06 3:33
pgav16-Aug-06 3:33 
GeneralRe: Include Files and Folder Structure Pin
Zac Howland16-Aug-06 3:36
Zac Howland16-Aug-06 3:36 
QuestionPasswordDerivedBytes How To? Pin
Gywox16-Aug-06 3:00
Gywox16-Aug-06 3:00 
QuestionHow to send double value as 8 uint8 values? Pin
cahit2316-Aug-06 2:55
cahit2316-Aug-06 2:55 
QuestionRe: How to send double value as 8 uint8 values? Pin
David Crow16-Aug-06 3:09
David Crow16-Aug-06 3:09 
AnswerRe: How to send double value as 8 uint8 values? Pin
Steve S16-Aug-06 3:13
Steve S16-Aug-06 3:13 
GeneralRe: How to send double value as 8 uint8 values? Pin
David Crow16-Aug-06 3:15
David Crow16-Aug-06 3:15 
GeneralRe: How to send double value as 8 uint8 values? Pin
kakan16-Aug-06 3:43
professionalkakan16-Aug-06 3:43 
GeneralRe: How to send double value as 8 uint8 values? Pin
Zac Howland16-Aug-06 4:20
Zac Howland16-Aug-06 4:20 
AnswerRe: How to send double value as 8 uint8 values? Pin
Chris Losinger16-Aug-06 3:35
professionalChris Losinger16-Aug-06 3:35 
Questionproblem with FTP client Pin
vijay_aroli16-Aug-06 2:53
vijay_aroli16-Aug-06 2:53 
QuestionFaxRegisterRoutingExtension Fails on Windows XP! Pin
a_kiani16-Aug-06 2:43
a_kiani16-Aug-06 2:43 
AnswerRe: FaxRegisterRoutingExtension Fails on Windows XP! Pin
Hamid_RT18-Aug-06 8:02
Hamid_RT18-Aug-06 8:02 

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.