Click here to Skip to main content
15,920,513 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Calling DLL function that is not imported(MFC and WinMain) Pin
Rajesh R Subramanian13-Jun-09 2:26
professionalRajesh R Subramanian13-Jun-09 2:26 
GeneralRe: Calling DLL function that is not imported(MFC and WinMain) Pin
sawerr13-Jun-09 3:17
sawerr13-Jun-09 3:17 
GeneralRe: Calling DLL function that is not imported(MFC and WinMain) Pin
sgenie6813-Jun-09 22:22
sgenie6813-Jun-09 22:22 
QuestionHow to open a logical partition and read all of its file using windows function ReadFile() ? Pin
krish_kumar12-Jun-09 22:53
krish_kumar12-Jun-09 22:53 
QuestionRe: How to open a logical partition and read all of its file using windows function ReadFile() ? Pin
Randor 13-Jun-09 5:38
professional Randor 13-Jun-09 5:38 
AnswerRe: How to open a logical partition and read all of its file using windows function ReadFile() ? Pin
krish_kumar13-Jun-09 6:27
krish_kumar13-Jun-09 6:27 
GeneralRe: How to open a logical partition and read all of its file using windows function ReadFile() ? Pin
Stuart Dootson13-Jun-09 12:59
professionalStuart Dootson13-Jun-09 12:59 
GeneralRe: How to open a logical partition and read all of its file using windows function ReadFile() ? Pin
Randor 14-Jun-09 6:14
professional Randor 14-Jun-09 6:14 
krish_kumar wrote:
I use it in user mode.


Yes, I remember you now. Your the guy who has been asking this question in all of the kernelmode driver forums for the last few weeks. Big Grin | :-D

Doron Holan over at Microsoft and many other highly respected engineers have given you the same advice. You should just copy the partition from usermode using the standard functions. Your not going to get much benefit from using kernel functions from usermode.

Now with that being said, what exactly are you having problems with? You state in this post[^]

I used the "FSCTL_GET_VOLUME_BITMAP" to get the cluster usage details.And I'm
getting the used and free cluster counts correctly.And the cluster number I got
is continuous.This makes problem for me. I wanna copy the used clusters to a
different partition.


Mark Roddy over at Microsoft wrote an article about finding and copying disk sectors. Have you read it?

Adventures in Luserland: Finding Disk Sectors Associated with File Records.[^]

Best Wishes,
-David Delaune
GeneralRe: How to open a logical partition and read all of its file using windows function ReadFile() ? Pin
krish_kumar14-Jun-09 18:32
krish_kumar14-Jun-09 18:32 
GeneralRe: How to open a logical partition and read all of its file using windows function ReadFile() ? Pin
Randor 15-Jun-09 7:37
professional Randor 15-Jun-09 7:37 
GeneralRe: How to open a logical partition and read all of its file using windows function ReadFile() ? [modified] Pin
krish_kumar15-Jun-09 15:19
krish_kumar15-Jun-09 15:19 
GeneralRe: How to open a logical partition and read all of its file using windows function ReadFile() ? Pin
krish_kumar19-Jun-09 20:01
krish_kumar19-Jun-09 20:01 
Questionvirtual constructor Pin
siva45512-Jun-09 22:11
siva45512-Jun-09 22:11 
AnswerRe: virtual constructor Pin
Rajesh R Subramanian12-Jun-09 22:16
professionalRajesh R Subramanian12-Jun-09 22:16 
AnswerRe: virtual constructor Pin
Cedric Moonen12-Jun-09 23:09
Cedric Moonen12-Jun-09 23:09 
GeneralRe: virtual constructor Pin
Arun Singh K13-Jun-09 0:57
Arun Singh K13-Jun-09 0:57 
QuestionC++ dll for Excel -> Is it possible to return strings with > 255 characters in Excel? [modified] Pin
T210212-Jun-09 22:00
T210212-Jun-09 22:00 
AnswerRe: Possible to return strings with >255 characters in Excel? Pin
Rajesh R Subramanian12-Jun-09 22:10
professionalRajesh R Subramanian12-Jun-09 22:10 
GeneralRe: Possible to return strings with >255 characters in Excel? Pin
T210212-Jun-09 23:13
T210212-Jun-09 23:13 
GeneralRe: Possible to return strings with >255 characters in Excel? Pin
Rajesh R Subramanian12-Jun-09 23:26
professionalRajesh R Subramanian12-Jun-09 23:26 
GeneralRe: Possible to return strings with >255 characters in Excel? Pin
T210212-Jun-09 23:47
T210212-Jun-09 23:47 
GeneralRe: Possible to return strings with >255 characters in Excel? Pin
Rajesh R Subramanian12-Jun-09 23:49
professionalRajesh R Subramanian12-Jun-09 23:49 
GeneralRe: Possible to return strings with >255 characters in Excel? Pin
AlexesDad30-Jun-09 11:40
AlexesDad30-Jun-09 11:40 
QuestionErrors occurs while compiling Smart device MFC application using VS2005 Pin
saksp12-Jun-09 20:42
saksp12-Jun-09 20:42 
GeneralRe: Errors occurs while compiling Smart device MFC application using VS2005 Pin
Arun Singh K13-Jun-09 1:00
Arun Singh K13-Jun-09 1:00 

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.