person man wrote: > Thanks for response. > Actually I want to get the starting offset value of each drive in windows 98.
Why? And that is getting a bit low-level for me. If you give me a good enough reason, I'll hunt the info. down. (And why are you still using Win98?) > Also the length and file system of each drive. > Plz help................. > Thanks again. GetDiskFreeSpaceEx() to get free and total bytes for a drive. Did you bother to look up the other two APIs I mentioned? > Thomas Hruska <[EMAIL PROTECTED]> wrote: > person man wrote: > > How to get hard disk information using c/c++.Can any one help by > > giving code to get Hard disk information i.e No. of hard disk in the > > system, Drive serial number,assigned drive letter by OS(C,D,E....), > > file system of each drive........etc > > > > Plz...Plz.......help..... > > What OS? Sounds like Windows. Try GetLogicalDrives(). Then for each > drive use GetVolumeInformation(). -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
