Click here to Skip to main content
15,909,530 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: ODE equation solver Pin
minox6-Feb-06 8:11
minox6-Feb-06 8:11 
Questionprinting with MFC Pin
vikas amin6-Feb-06 2:32
vikas amin6-Feb-06 2:32 
AnswerRe: printing with MFC Pin
David Crow6-Feb-06 2:58
David Crow6-Feb-06 2:58 
AnswerRe: printing with MFC Pin
PJ Arends6-Feb-06 10:54
professionalPJ Arends6-Feb-06 10:54 
AnswerRe: printing with MFC Pin
#realJSOP9-Feb-06 9:30
professional#realJSOP9-Feb-06 9:30 
QuestionDetermining partitions? Pin
pc_dev6-Feb-06 2:22
pc_dev6-Feb-06 2:22 
AnswerRe: Determining partitions? Pin
Rage6-Feb-06 2:46
professionalRage6-Feb-06 2:46 
AnswerRe: Determining partitions? Pin
James R. Twine6-Feb-06 3:01
James R. Twine6-Feb-06 3:01 
   You can use FindFirstVolume(...) and its related functions to iterate over configured volumes (on systems that support volume management).  Partitions are going to be a bit harder, because there could be Partition types on the system that Windows does not recognize (e.g. ext2, ext3).

   Getting just the configured drive letters only gets you the ones that are actually assigned to drive letters.

   You may have to actually read a drive's partition table - CreateFile(...) to open a physical drive using \\.\PHYSICALDRIVE0, \\.\PHYSICALDRIVE1, etc., and DeviceIOControl(...) to access partition information. Look up the PARTITION_INFORMATION and PARTITION_INFORMATION_EX structures in an updated MSDN Library (or online) for more information.

   Peace!

-=- James
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!
Tip for new SUV drivers: Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites
(Please rate this post!)
QuestionAdding hyperlink in static control/dialog Pin
pc_dev6-Feb-06 2:02
pc_dev6-Feb-06 2:02 
AnswerRe: Adding hyperlink in static control/dialog Pin
Cedric Moonen6-Feb-06 2:18
Cedric Moonen6-Feb-06 2:18 
AnswerRe: Adding hyperlink in static control/dialog Pin
James R. Twine6-Feb-06 2:38
James R. Twine6-Feb-06 2:38 
QuestionCListCtrl run-time creation question Pin
Odiee6-Feb-06 1:48
Odiee6-Feb-06 1:48 
AnswerRe: CListCtrl run-time creation question Pin
Hamid_RT6-Feb-06 3:30
Hamid_RT6-Feb-06 3:30 
QuestionAdd html help to a button Pin
schliz6-Feb-06 1:35
schliz6-Feb-06 1:35 
AnswerRe: Add html help to a button Pin
pc_dev6-Feb-06 1:56
pc_dev6-Feb-06 1:56 
GeneralRe: Add html help to a button Pin
schliz6-Feb-06 4:31
schliz6-Feb-06 4:31 
QuestionHow to ignore a group of warnings in a project "#pragma deprecated" Pin
arunperi6-Feb-06 1:10
arunperi6-Feb-06 1:10 
AnswerRe: How to ignore a group of warnings in a project "#pragma deprecated" Pin
pg__6-Feb-06 1:58
pg__6-Feb-06 1:58 
AnswerRe: How to ignore a group of warnings in a project "#pragma deprecated" Pin
toxcct6-Feb-06 2:31
toxcct6-Feb-06 2:31 
GeneralRe: How to ignore a group of warnings in a project "#pragma deprecated" Pin
arunperi6-Feb-06 16:50
arunperi6-Feb-06 16:50 
GeneralRe: How to ignore a group of warnings in a project "#pragma deprecated" Pin
toxcct6-Feb-06 21:16
toxcct6-Feb-06 21:16 
QuestionCrystal reports Pin
syedfasih6-Feb-06 0:47
syedfasih6-Feb-06 0:47 
QuestionVideo Setting Pin
Hamid_RT6-Feb-06 0:42
Hamid_RT6-Feb-06 0:42 
QuestionRe: Video Setting Pin
David Crow6-Feb-06 3:01
David Crow6-Feb-06 3:01 
AnswerRe: Video Setting Pin
Hamid_RT6-Feb-06 3:32
Hamid_RT6-Feb-06 3:32 

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.