This site is no longer active and is available for archival purposes only. Registration and login is disabled.

free ram!


free ram!

Postby brendan » Jan 20, 2003 @ 1:36am

does anyone have any nifty code for checking that the device has a "required" amount of space avaliable to run an application?

i.e to terminate the program if not enough!
User avatar
brendan
pm Insider
 
Posts: 451
Joined: Oct 23, 2001 @ 2:51am
Location: Hobart, Australia


There's a function

Postby golan_trevize_x » Jan 20, 2003 @ 9:17am

Hey brendan,

There is a function you can use to ask the device, and it'll put some free and used memory information in a struct (also defined), which you can then access. I used it when I was having memory problems and wanted to check if I was using too much.

I'll try and find out what it's called when I get home. In the meantime, one of the other guys can help you, or you can find it yourself in the help.

Nathan
golan_trevize_x
pm Member
 
Posts: 67
Joined: Nov 23, 2001 @ 7:36pm
Location: Melbourne, Australia


OK here we go

Postby golan_trevize_x » Jan 20, 2003 @ 1:24pm

golan_trevize_x
pm Member
 
Posts: 67
Joined: Nov 23, 2001 @ 7:36pm
Location: Melbourne, Australia


Postby Dan East » Jan 20, 2003 @ 4:22pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum