PC Review


Reply
Thread Tools Rate Thread

Determining how much memory is free using Compact .NET

 
 
Dan
Guest
Posts: n/a
 
      24th Nov 2004
Does anyone know how to retrieve the following using Compact .NET:

Total physical memory
Available physical memory
Total virtual memory
Available virtual memory





 
Reply With Quote
 
 
 
 
Peter Foot [MVP]
Guest
Posts: n/a
 
      24th Nov 2004
Yes, by P/Invoking GlobalMemoryStatus - or use the ready-made P/Invoke in
the Smart Device Framework (www.opennetcf.org/sdf/)
http://www.opennetcf.org/library/Ope...oryStatus.html
http://www.opennetcf.org/sourcebrows.../Win32/Core.cs

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

"Dan" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Does anyone know how to retrieve the following using Compact .NET:
>
> Total physical memory
> Available physical memory
> Total virtual memory
> Available virtual memory
>
>
>
>
>



 
Reply With Quote
 
Daniel Moth
Guest
Posts: n/a
 
      24th Nov 2004
PInvoke GlobalMemoryStatus

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


"Dan" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Does anyone know how to retrieve the following using Compact .NET:
>
> Total physical memory
> Available physical memory
> Total virtual memory
> Available virtual memory
>
>
>
>
>



 
Reply With Quote
 
=?Utf-8?B?QWxleCBZYWtobmluIFtNVlBd?=
Guest
Posts: n/a
 
      24th Nov 2004
http://msdn.microsoft.com/mobility/p...fault.aspx#6.5

--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com
www.opennetcf.org


"Dan" wrote:

> Does anyone know how to retrieve the following using Compact .NET:
>
> Total physical memory
> Available physical memory
> Total virtual memory
> Available virtual memory
>
>
>
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i free the unmanaged memory in managed code in .net compact framework LCSAINI Microsoft Dot NET Compact Framework 0 21st Jun 2006 02:59 PM
Windows Explorer-- Determining memory contained in a subdirectory =?Utf-8?B?S2F0aWU=?= Microsoft Windows 2000 7 23rd Apr 2005 12:43 PM
Determining Memory Size (RAM) Chaplain Doug Microsoft Windows 2000 Hardware 4 15th Mar 2004 06:40 PM
Determining Memory usage Otis Bricker Microsoft Windows 2000 Developer 0 17th Dec 2003 11:19 PM
Determining memory Jim ATI Video Cards 1 26th Sep 2003 02:15 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:55 AM.