Click here to Skip to main content
15,907,326 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: "Dynamic Linking of .lib file in my project" Pin
James R. Twine22-Jan-07 4:34
James R. Twine22-Jan-07 4:34 
GeneralRe: "Dynamic Linking of .lib file in my project" Pin
chandni_chandrakant_maheta22-Jan-07 18:30
chandni_chandrakant_maheta22-Jan-07 18:30 
GeneralRe: "Dynamic Linking of .lib file in my project" Pin
chandni_chandrakant_maheta22-Jan-07 18:55
chandni_chandrakant_maheta22-Jan-07 18:55 
GeneralRe: "Dynamic Linking of .lib file in my project" Pin
James R. Twine23-Jan-07 14:30
James R. Twine23-Jan-07 14:30 
QuestionAccessing physical drives [modified] Pin
Big CDF22-Jan-07 3:57
Big CDF22-Jan-07 3:57 
QuestionRe: Accessing physical drives Pin
David Crow22-Jan-07 4:27
David Crow22-Jan-07 4:27 
AnswerRe: Accessing physical drives Pin
Big CDF22-Jan-07 4:55
Big CDF22-Jan-07 4:55 
AnswerRe: Accessing physical drives Pin
James R. Twine22-Jan-07 4:32
James R. Twine22-Jan-07 4:32 
Big CDF wrote:
I have used the CreateFile function to get a Handle to the drive, i then use this handle as a parameter in the ReadFileEx function (to read the data) but i get a message box from Windows telling me 'this program needs to close', beacause of an access violation


   That sounds like a problem with the memory you are reading into, as opposed to how you are opening/reading the physical drive.  Permission problems rarely directly result in access violation exceptions, and are more likely to just cause function-level failures.  Oh, and you are paying attention to return codes, right?

   Please post the snippet that opens the drive, specifies the memory to read drive information into, and the call that does the actual read.

   Peace!

-=- James
Please rate this message - let me know if I helped or not!<HR>If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles

GeneralRe: Accessing physical drives Pin
Big CDF22-Jan-07 4:52
Big CDF22-Jan-07 4:52 
QuestionRe: Accessing physical drives Pin
David Crow22-Jan-07 5:01
David Crow22-Jan-07 5:01 
AnswerRe: Accessing physical drives Pin
Big CDF22-Jan-07 5:20
Big CDF22-Jan-07 5:20 
GeneralRe: Accessing physical drives Pin
David Crow22-Jan-07 9:48
David Crow22-Jan-07 9:48 
GeneralRe: Accessing physical drives Pin
Big CDF22-Jan-07 12:50
Big CDF22-Jan-07 12:50 
GeneralRe: Accessing physical drives Pin
James R. Twine22-Jan-07 5:07
James R. Twine22-Jan-07 5:07 
AnswerRe: Accessing physical drives Pin
prasad_som22-Jan-07 5:19
prasad_som22-Jan-07 5:19 
AnswerRe: Accessing physical drives Pin
kakan22-Jan-07 20:11
professionalkakan22-Jan-07 20:11 
Questioncan any one help? [modified] Pin
Simple programmer22-Jan-07 3:16
Simple programmer22-Jan-07 3:16 
AnswerRe: can any one help? Pin
James R. Twine22-Jan-07 3:17
James R. Twine22-Jan-07 3:17 
AnswerRe: can any one help? Pin
KarstenK22-Jan-07 4:15
mveKarstenK22-Jan-07 4:15 
AnswerRe: can any one help? Pin
David Crow22-Jan-07 4:32
David Crow22-Jan-07 4:32 
AnswerRe: can any one help? Pin
Hamid_RT22-Jan-07 18:06
Hamid_RT22-Jan-07 18:06 
Questionhw to find out a possible combination Pin
Simple programmer22-Jan-07 3:07
Simple programmer22-Jan-07 3:07 
AnswerRe: hw to find out a possible combination Pin
Maximilien22-Jan-07 3:37
Maximilien22-Jan-07 3:37 
AnswerRe: hw to find out a possible combination Pin
Stephen Hewitt22-Jan-07 11:29
Stephen Hewitt22-Jan-07 11:29 
Questionneed help... Pin
baby_fong8222-Jan-07 2:22
baby_fong8222-Jan-07 2:22 

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.