Click here to Skip to main content
15,887,350 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to read a schema file and get the elements from the schema file (xsd)?? Pin
Jayaraman K12-Jun-09 1:31
Jayaraman K12-Jun-09 1:31 
QuestionGetting Last Two Bytes Pin
RS.Ratheesh12-Jun-09 1:10
RS.Ratheesh12-Jun-09 1:10 
AnswerRe: Getting Last Two Bytes [modified] Pin
Jijo.Raj12-Jun-09 1:20
Jijo.Raj12-Jun-09 1:20 
AnswerRe: Getting Last Two Bytes Pin
CPallini12-Jun-09 1:39
mveCPallini12-Jun-09 1:39 
AnswerRe: Getting Last Two Bytes Pin
chirag_chauhan12-Jun-09 1:47
chirag_chauhan12-Jun-09 1:47 
GeneralRe: Getting Last Two Bytes Pin
PandemoniumPasha12-Jun-09 1:49
PandemoniumPasha12-Jun-09 1:49 
AnswerRe: Getting Last Two Bytes Pin
krmed12-Jun-09 3:25
krmed12-Jun-09 3:25 
QuestionHow to open a logical partition and read all of its file using windows function ReadFile() ? Pin
krish_kumar12-Jun-09 0:37
krish_kumar12-Jun-09 0:37 
Hii


I wanna open a logical partition and read all of its file using windows function
ReadFile().

I know


HANDLE  handle= CreateFile( L"\\\\.\\D:",-------);
bool b= Readfile(handle,buffer,bytes to read ,bytes read,0);

//To check end of file

if ((b && bytes read )==0)




My doubt is here we are getting the file as in the buffer.How to get the that file itself?

I wanna make some operation on that file.

So how to get that particular file?

Otherwise I've to create a new file with same name and write into it Using WriteFile() function ?

I've to read all file one-by-one..? how to perform this ?




Thanking you.
AnswerRe: How to open a logical partition and read all of its file using windows function ReadFile() ? Pin
CPallini12-Jun-09 1:00
mveCPallini12-Jun-09 1:00 
QuestionRe: How to open a logical partition and read all of its file using windows function ReadFile() ? Pin
David Crow12-Jun-09 3:10
David Crow12-Jun-09 3:10 
AnswerRe: How to open a logical partition and read all of its file using windows function ReadFile() ? Pin
krish_kumar12-Jun-09 22:49
krish_kumar12-Jun-09 22:49 
QuestionRe: How to open a logical partition and read all of its file using windows function ReadFile() ? Pin
David Crow13-Jun-09 12:44
David Crow13-Jun-09 12:44 
AnswerRe: How to open a logical partition and read all of its file using windows function ReadFile() ? Pin
krish_kumar14-Jun-09 3:43
krish_kumar14-Jun-09 3:43 
QuestionResolution Problem in SDI application Pin
Saleem Anwar12-Jun-09 0:18
Saleem Anwar12-Jun-09 0:18 
AnswerRe: Resolution Problem in SDI application Pin
Niklas L12-Jun-09 0:33
Niklas L12-Jun-09 0:33 
AnswerRe: Resolution Problem in SDI application Pin
CPallini12-Jun-09 0:42
mveCPallini12-Jun-09 0:42 
QuestionSetupAPI library:SetupDiGetDeviceRegistryProperty function issue (VC++ 6.0)! Pin
callousfantom12-Jun-09 0:01
callousfantom12-Jun-09 0:01 
AnswerRe: SetupAPI library:SetupDiGetDeviceRegistryProperty function issue (VC++ 6.0)! Pin
Niklas L12-Jun-09 0:08
Niklas L12-Jun-09 0:08 
GeneralRe: SetupAPI library:SetupDiGetDeviceRegistryProperty function issue (VC++ 6.0)! Pin
callousfantom12-Jun-09 0:31
callousfantom12-Jun-09 0:31 
GeneralRe: SetupAPI library:SetupDiGetDeviceRegistryProperty function issue (VC++ 6.0)! Pin
Niklas L12-Jun-09 0:46
Niklas L12-Jun-09 0:46 
GeneralRe: SetupAPI library:SetupDiGetDeviceRegistryProperty function issue (VC++ 6.0)! Pin
Randor 12-Jun-09 6:59
professional Randor 12-Jun-09 6:59 
GeneralRe: SetupAPI library:SetupDiGetDeviceRegistryProperty function issue (VC++ 6.0)! [modified] Pin
callousfantom16-Jun-09 18:48
callousfantom16-Jun-09 18:48 
QuestionXML DOM insertBefore() Method Pin
p_196011-Jun-09 23:59
p_196011-Jun-09 23:59 
AnswerRe: XML DOM insertBefore() Method Pin
Niklas L12-Jun-09 0:05
Niklas L12-Jun-09 0:05 
GeneralRe: XML DOM insertBefore() Method Pin
p_196012-Jun-09 0:07
p_196012-Jun-09 0:07 

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.