Click here to Skip to main content
15,902,299 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ON_UPDATE_COMMAND_UI Help me !!! Pin
ThatsAlok11-Oct-05 0:55
ThatsAlok11-Oct-05 0:55 
GeneralRe: ON_UPDATE_COMMAND_UI Help me !!! Pin
Mircea Puiu11-Oct-05 0:57
Mircea Puiu11-Oct-05 0:57 
AnswerRe: ON_UPDATE_COMMAND_UI Help me !!! Pin
David Crow11-Oct-05 2:46
David Crow11-Oct-05 2:46 
AnswerRe: ON_UPDATE_COMMAND_UI Help me !!! Pin
tirucapricorn12-Oct-05 18:37
tirucapricorn12-Oct-05 18:37 
QuestionHow to get the total sectors of physical disk Pin
bghuang10-Oct-05 23:57
bghuang10-Oct-05 23:57 
AnswerRe: How to get the total sectors of physical disk Pin
Devendra Vaja11-Oct-05 0:08
Devendra Vaja11-Oct-05 0:08 
GeneralRe: How to get the total sectors of physical disk Pin
bghuang11-Oct-05 2:47
bghuang11-Oct-05 2:47 
GeneralRe: How to get the total sectors of physical disk Pin
Devendra Vaja14-Oct-05 23:36
Devendra Vaja14-Oct-05 23:36 
Hi As per my knowledge, You can open any disk (using CreateFile(DriveName,....)and after reading the first sector of the disk you will get Boot record of the same from there I feel you can get the size of the disk
Otherwise harddisk has Master boot table from where you can get the partitions and their sizes.If you want to open a physical drive you can open it using the CreateFile("\\\\.\\PHYSICALDRIVE0",....) for the harddisk.and after reading the MBT you can get the drive information .If you want to use the WINDOWS api then you can use GetDiskFreeSpace() API and pass NULL as a root directory it will return you the TOTAL number of clusters,multiply it with the Sectores per cluster and bytes per sector.You will get the disk size.

QuestionException while deletion -- scalar deleting destructor Pin
Divick10-Oct-05 23:50
Divick10-Oct-05 23:50 
AnswerRe: Exception while deletion -- scalar deleting destructor Pin
Roger Stoltz11-Oct-05 0:18
Roger Stoltz11-Oct-05 0:18 
GeneralRe: Exception while deletion -- scalar deleting destructor Pin
Divick11-Oct-05 4:47
Divick11-Oct-05 4:47 
GeneralRe: Exception while deletion -- scalar deleting destructor Pin
Roger Stoltz11-Oct-05 7:02
Roger Stoltz11-Oct-05 7:02 
AnswerRe: Exception while deletion -- scalar deleting destructor Pin
Tim Smith11-Oct-05 4:01
Tim Smith11-Oct-05 4:01 
GeneralRe: Exception while deletion -- scalar deleting destructor Pin
Divick11-Oct-05 21:59
Divick11-Oct-05 21:59 
GeneralRe: Exception while deletion -- scalar deleting destructor Pin
Divick12-Oct-05 1:26
Divick12-Oct-05 1:26 
Questionlaunch googleTalk from Browser Pin
Anonymous10-Oct-05 22:40
Anonymous10-Oct-05 22:40 
Questionl Pin
Anonymous10-Oct-05 22:39
Anonymous10-Oct-05 22:39 
AnswerRe: l Pin
Prakash Nadar11-Oct-05 6:24
Prakash Nadar11-Oct-05 6:24 
QuestionHow to draw the gradient of 3 colors with rotation? Pin
CoolStarLee10-Oct-05 22:14
CoolStarLee10-Oct-05 22:14 
AnswerRe: How to draw the gradient of 3 colors with rotation? Pin
Mircea Puiu11-Oct-05 0:54
Mircea Puiu11-Oct-05 0:54 
QuestionModeless dialog communicating with parent dialog Pin
fjlv200510-Oct-05 20:44
fjlv200510-Oct-05 20:44 
AnswerRe: Modeless dialog communicating with parent dialog Pin
karmendra_js10-Oct-05 21:11
karmendra_js10-Oct-05 21:11 
AnswerRe: Modeless dialog communicating with parent dialog Pin
fjlv200510-Oct-05 23:26
fjlv200510-Oct-05 23:26 
GeneralRe: Modeless dialog communicating with parent dialog Pin
karmendra_js10-Oct-05 23:58
karmendra_js10-Oct-05 23:58 
GeneralRe: Modeless dialog communicating with parent dialog Pin
karmendra_js11-Oct-05 0:11
karmendra_js11-Oct-05 0:11 

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.