APIs or MFC class for working with FAT ?
-
Hi everyone! I'm finding API's function or MFC class for working with FAT(File Alocation Table): Read infomation from FAT, work with directories and files (copy, read, write, delete...). Can somebody show me ? Thank you at all.
Nothing Is Impossible !
-
Hi everyone! I'm finding API's function or MFC class for working with FAT(File Alocation Table): Read infomation from FAT, work with directories and files (copy, read, write, delete...). Can somebody show me ? Thank you at all.
Nothing Is Impossible !
There is plenty of information about the FAT file system on the Internet, just Google for it. You can use CreateFile() to open a volume (logical disk), and then use SeekFile/ReadFile/WriteFile to read and write sectors on the volume. But you do know that Win32 natively does support the FAT file system? If you just want to use a FAT formatted disk for the usual file handling functions, just do it. You don't have to care about if the disk/volume is formatted for NTFS or FAT, it just works.
Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson