Click here to Skip to main content
16,017,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionProblem in opening a hard drive in raw format Pin
Srinivas Kaparthi31-May-07 20:40
Srinivas Kaparthi31-May-07 20:40 
AnswerRe: Problem in opening a hard drive in raw format Pin
Cedric Moonen31-May-07 20:54
Cedric Moonen31-May-07 20:54 
GeneralRe: Problem in opening a hard drive in raw format Pin
Srinivas Kaparthi3-Jun-07 22:32
Srinivas Kaparthi3-Jun-07 22:32 
GeneralRe: Problem in opening a hard drive in raw format Pin
Cedric Moonen3-Jun-07 23:42
Cedric Moonen3-Jun-07 23:42 
GeneralRe: Problem in opening a hard drive in raw format Pin
kakan4-Jun-07 19:24
professionalkakan4-Jun-07 19:24 
AnswerRe: Problem in opening a hard drive in raw format Pin
kakan31-May-07 22:39
professionalkakan31-May-07 22:39 
GeneralRe: Problem in opening a hard drive in raw format Pin
Srinivas Kaparthi1-Jun-07 21:44
Srinivas Kaparthi1-Jun-07 21:44 
GeneralRe: Problem in opening a hard drive in raw format Pin
kakan3-Jun-07 19:41
professionalkakan3-Jun-07 19:41 
Hello.

I always use the "disclaimer" about my source code not beeing Unicode compliant, and has C syntax.
In the past, I've been flamed a number of times, by people who were complaining about my source code. Nowadays, I always use that statement.

About your code example: You have switched your test/texts, so if you get "Drive could not be opened", all is fine, and the drive is open for use! Smile | :)

Just remember, all operations must be done on an even multiplier of the sector size (since a complete sector is the smallest amount that the drive can handle. It's ususally 512 bytes, but can differ).



Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson

GeneralRe: Problem in opening a hard drive in raw format Pin
Srinivas Kaparthi3-Jun-07 22:24
Srinivas Kaparthi3-Jun-07 22:24 
GeneralRe: Problem in opening a hard drive in raw format Pin
Srinivas Kaparthi4-Jun-07 6:40
Srinivas Kaparthi4-Jun-07 6:40 
GeneralRe: Problem in opening a hard drive in raw format Pin
kakan4-Jun-07 19:01
professionalkakan4-Jun-07 19:01 
QuestionOT: Russinovich Article on UAC... Pin
Jeffrey Walton31-May-07 20:28
Jeffrey Walton31-May-07 20:28 
AnswerRe: OT: Russinovich Article on UAC... Pin
Garth J Lancaster31-May-07 20:53
professionalGarth J Lancaster31-May-07 20:53 
GeneralRe: OT: Russinovich Article on UAC... Pin
Jeffrey Walton31-May-07 22:44
Jeffrey Walton31-May-07 22:44 
AnswerRe: OT: Russinovich Article on UAC... Pin
Mark Salsbery1-Jun-07 6:06
Mark Salsbery1-Jun-07 6:06 
QuestionHow to save 3D frames on Harddisk(memory) in DirectX Pin
zahid_ash31-May-07 20:26
zahid_ash31-May-07 20:26 
Questionnon volatile memory-please help me Pin
prathuraj31-May-07 20:10
prathuraj31-May-07 20:10 
AnswerRe: non volatile memory-please help me Pin
Jeffrey Walton31-May-07 20:36
Jeffrey Walton31-May-07 20:36 
Questionpreprocessor directive Pin
Sonia Gupta31-May-07 20:07
Sonia Gupta31-May-07 20:07 
AnswerRe: preprocessor directive Pin
_AnsHUMAN_ 31-May-07 20:18
_AnsHUMAN_ 31-May-07 20:18 
QuestionRe: preprocessor directive Pin
Sonia Gupta31-May-07 20:30
Sonia Gupta31-May-07 20:30 
AnswerRe: preprocessor directive Pin
toxcct31-May-07 20:36
toxcct31-May-07 20:36 
AnswerRe: preprocessor directive Pin
Cedric Moonen31-May-07 20:56
Cedric Moonen31-May-07 20:56 
AnswerRe: preprocessor directive Pin
David Crow1-Jun-07 3:56
David Crow1-Jun-07 3:56 
AnswerRe: preprocessor directive Pin
toxcct31-May-07 20:29
toxcct31-May-07 20:29 

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.