Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Retrieve free space


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-20-2008, 08:41 PM
MM2forever's Avatar
Knows the basics
 
Join Date: Jun 2007
Location: Germany
Posts: 56
Send a message via ICQ to MM2forever Send a message via MSN to MM2forever Send a message via Skype™ to MM2forever
Default Retrieve free space

Hi guys,
how can I retrieve the free space of my Main Memory (RAM) or my storage cards ("SD Card" / "iPAQ File Store") ?

Thank you
Christian
__________________
Regards, Christian

>> My PPC Hardware <<


There are 10 kinds of people: Those who understand binary, and those who don't.
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 09:26 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,900
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

The quick glib banswer is that RAM is reclaimed when your program exits and storage when you delete files! This is probably not what you meant so can you amplify the reason behind your question?
Reply With Quote
  #3 (permalink)  
Old 04-20-2008, 09:45 PM
MM2forever's Avatar
Knows the basics
 
Join Date: Jun 2007
Location: Germany
Posts: 56
Send a message via ICQ to MM2forever Send a message via MSN to MM2forever Send a message via Skype™ to MM2forever
Default

uh, sorry, my question is easy to missunderstand:

I actually ment how can I get the value (in e.g. MB / kb) of the actual free available space of the ram or storage cards?
And how can I get the total available amount of the ram/a storage card?

Sorry for the inconvenience
__________________
Regards, Christian

>> My PPC Hardware <<


There are 10 kinds of people: Those who understand binary, and those who don't.

Last edited by MM2forever : 04-20-2008 at 09:45 PM. Reason: spelling mistake
Reply With Quote
  #4 (permalink)  
Old 11-17-2008, 08:42 AM
Basic4ppc Veteran
 
Join Date: Feb 2008
Location: Hilversum, The Netherlands
Posts: 237
Awards Showcase
Beta Tester 
Total Awards: 1
Default

This is also something I'd like to know..

the only workaround would be to search for all files and check the
size, then then add them all together.
but this seems a bit too much, there must be an easier way
Reply With Quote
  #5 (permalink)  
Old 11-22-2008, 04:16 PM
MM2forever's Avatar
Knows the basics
 
Join Date: Jun 2007
Location: Germany
Posts: 56
Send a message via ICQ to MM2forever Send a message via MSN to MM2forever Send a message via Skype™ to MM2forever
Default

I also thought about that, but then theres still the question how to get the actual total space of a memory device available
__________________
Regards, Christian

>> My PPC Hardware <<


There are 10 kinds of people: Those who understand binary, and those who don't.
Reply With Quote
  #6 (permalink)  
Old 11-22-2008, 05:50 PM
Basic4ppc Veteran
 
Join Date: Feb 2008
Location: Hilversum, The Netherlands
Posts: 237
Awards Showcase
Beta Tester 
Total Awards: 1
Default

I know this functionality is in the OpenNetCF but it is not usable in its current form..
I already tried making a usable dll out of it, but i was not really successfull
i don't get any data back

If anyone wants to take a crack at it... please be my guest
file is attached.
Attached Files
File Type: zip StorageCard.zip (2.2 KB, 6 views)
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ctl-Space problem? agraham Bug Reports 4 06-17-2008 06:29 PM
Retrieve version timsteeman Questions & Help Needed 8 11-16-2007 07:43 PM
retrieve labelnames on a form Scubaticus Questions & Help Needed 1 08-03-2007 11:51 PM
Free Icons web site lists Cableguy Code Samples & Tips 3 07-05-2007 10:32 AM
Space saving with formatted text? mwaite Questions & Help Needed 5 05-26-2007 05:36 PM


All times are GMT. The time now is 05:13 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0