Click here to Skip to main content
15,889,211 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Windows Service and wizard Pin
Tom Archer20-Jun-05 21:30
Tom Archer20-Jun-05 21:30 
GeneralRe: Windows Service and wizard Pin
Nilesh K.20-Jun-05 21:41
Nilesh K.20-Jun-05 21:41 
GeneralRe: Windows Service and wizard Pin
Laji5920-Jun-05 23:14
Laji5920-Jun-05 23:14 
GeneralRe: Windows Service and wizard Pin
ThatsAlok20-Jun-05 21:44
ThatsAlok20-Jun-05 21:44 
GeneralRe: Windows Service and wizard Pin
Jack Puppy21-Jun-05 1:05
Jack Puppy21-Jun-05 1:05 
GeneralRe: Windows Service and wizard Pin
Laji5921-Jun-05 17:44
Laji5921-Jun-05 17:44 
QuestionHow to get the sectors/clusters of a particular file? Pin
jahfer20-Jun-05 20:36
jahfer20-Jun-05 20:36 
AnswerRe: How to get the sectors/clusters of a particular file? Pin
Sumit Kapoor21-Jun-05 0:13
Sumit Kapoor21-Jun-05 0:13 
Hi Jahfer,

I think you just need to reach to cluster, then following function would let you know how many sectors are there in one cluster & bye info of sector.

BOOL GetDiskFreeSpace(
LPCTSTR lpRootPathName, // pointer to root path
LPDWORD lpSectorsPerCluster, // pointer to sectors per cluster
LPDWORD lpBytesPerSector, // pointer to bytes per sector
LPDWORD lpNumberOfFreeClusters,
// pointer to number of free clusters
LPDWORD lpTotalNumberOfClusters
// pointer to total number of clusters
);

Then you need to iterate for sectors.


Regards,
Sumit Kapoor
+91-98-990-59818(M) Delhi >> INDIA
sumit_kapoor1980@rediffmail.com


Never consider anything impossible before trying to solve that..---Sumit Kapoor---
GeneralRe: How to get the sectors/clusters of a particular file? Pin
jahfer21-Jun-05 0:21
jahfer21-Jun-05 0:21 
GeneralRe: How to get the sectors/clusters of a particular file? Pin
Sumit Kapoor21-Jun-05 2:14
Sumit Kapoor21-Jun-05 2:14 
AnswerRe: How to get the sectors/clusters of a particular file? Pin
David Crow21-Jun-05 5:00
David Crow21-Jun-05 5:00 
Generalshowing Digital data on a bitmap (explanation) Pin
a_david12320-Jun-05 20:31
a_david12320-Jun-05 20:31 
GeneralRe: showing Digital data on a bitmap (explanation) Pin
Rage20-Jun-05 23:59
professionalRage20-Jun-05 23:59 
GeneralList control text alignment Pin
chilakala_sekhar20-Jun-05 20:10
chilakala_sekhar20-Jun-05 20:10 
QuestionHow to auto logon to a website? Pin
Tcpip200520-Jun-05 19:45
Tcpip200520-Jun-05 19:45 
AnswerRe: How to auto logon to a website? Pin
Christian Graus20-Jun-05 19:58
protectorChristian Graus20-Jun-05 19:58 
AnswerRe: How to auto logon to a website? Pin
FlyingTinman20-Jun-05 22:25
FlyingTinman20-Jun-05 22:25 
GeneralRe: How to auto logon to a website? Pin
FlyingTinman21-Jun-05 9:01
FlyingTinman21-Jun-05 9:01 
AnswerRe: How to auto logon to a website? Pin
David Crow21-Jun-05 5:02
David Crow21-Jun-05 5:02 
GeneralManipulate with the static text control Pin
Hoang Trong Minh Tuan20-Jun-05 19:41
Hoang Trong Minh Tuan20-Jun-05 19:41 
GeneralRe: Manipulate with the static text control Pin
Christian Graus20-Jun-05 19:58
protectorChristian Graus20-Jun-05 19:58 
GeneralRe: Manipulate with the static text control Pin
Nilesh K.20-Jun-05 21:37
Nilesh K.20-Jun-05 21:37 
QuestionDebug Assertion failed- Context Sensitive Help?? Pin
topagarwal20-Jun-05 18:38
topagarwal20-Jun-05 18:38 
AnswerRe: Debug Assertion failed- Context Sensitive Help?? Pin
David Crow21-Jun-05 5:04
David Crow21-Jun-05 5:04 
GeneralRe: Debug Assertion failed- Context Sensitive Help?? Pin
topagarwal21-Jun-05 18:02
topagarwal21-Jun-05 18: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.