Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to find the free disk space on WinCE environment?

89 views
Skip to first unread message

logu

unread,
Aug 19, 2009, 10:51:49 PM8/19/09
to
Hi,

I am developing a Mobile application on WinCE 5.0 and facing the
following problem, please provide your suggestion if any one facing
same issue.

1. My Mobile device having Memory 64 MB.
2. Base data (such as OS and other files ) occupies around 30 MB.
3. Also one folder contains around 50 sub folders with less data and
all are comes under above
said 30MB.
4. Mobile application will delete those 50 folders periodically.
5. Application is developed using eMbedded Visual C++ for ARMIV
processor.
6. I tried to get the available free disk space using API(s)
GetStoreInformation and
GetDiskFreeSpaceEx. But I could not find the available free
space since both API's not
return back to normal mode after calling them.
7. Control panel does not have any settings for finding space
details.

So please clarify the following.

1. How to findout the free diskspace for the above said environment?
2. Can I have the folder structure as per above point #4?
3. If we delete any file or folder using WinCE APIs DeleteFile and
RemoveDirectory then those
APIs will remove them permanently or not?

Thanks in advance.

Regards
Logu

0 new messages