.net - C++ Determine remaining space of hard drive -
i programming c++ in visual studio 2010 , wondering if there easy way remaining space of hard drive in mb. making program records images , want able see remaining space. noticed visual basic has following:
dim cdrive system.io.driveinfo cdrive = my.computer.filesystem.getdriveinfo("c:\") msgbox(cdrive.totalsize)
is there in c++? thanks
edit 1: responses guys, have finished work i'll have @ suggestions tomorrow
getfreediskspaceex want call.
sample code here.
Comments
Post a Comment