Click here to Skip to main content
16,011,120 members
Home / Discussions / Mobile
   

Mobile

 
GeneralRe: Exit and save Pin
Daniel Strigl15-Jul-03 0:24
Daniel Strigl15-Jul-03 0:24 
GeneralRe: Exit and save Pin
Cedric Moonen15-Jul-03 1:27
Cedric Moonen15-Jul-03 1:27 
GeneralRe: Exit and save Pin
Halls18-Jul-03 3:35
Halls18-Jul-03 3:35 
GeneralRe: Exit and save Pin
Cedric Moonen21-Jul-03 20:46
Cedric Moonen21-Jul-03 20:46 
GeneralHide New menu Pin
Anonymous14-Jul-03 9:29
Anonymous14-Jul-03 9:29 
GeneralRe: Hide New menu Pin
João Paulo Figueira14-Jul-03 13:37
professionalJoão Paulo Figueira14-Jul-03 13:37 
GeneralDISADVANTAGES of PocketPC Pin
Anonymous13-Jul-03 19:21
Anonymous13-Jul-03 19:21 
GeneralRe: DISADVANTAGES of PocketPC Pin
Mike Dimmick15-Jul-03 2:56
Mike Dimmick15-Jul-03 2:56 
I'm not sure exactly what it is you want to know.

The working RAM of a CE device is divided into 'program' and 'object store' areas. The division is adjusted on demand on all Windows CE devices; Pocket PC has a background thread that adjusts when the device is idle.

The 'object store' is your semi-permanent storage mechanism. It contains the registry, the in-memory file system (typically, but not necessarily, the root file system) and the property databases used by some applications (e.g. Contacts, Inbox, Tasks, Calendar on the Pocket PC). The contents of the object store are lost when the device power runs out or the device is fully reset. Check the device manual for how to do this.

The system ROM is also part of the file system, but it's aliased. The parts that are binaries are in Execute-In-Place format, i.e. the system functions run directly from ROM. Some OEMs shadow this area in RAM, which isn't then available to the system as RAM. You can never delete something from ROM, but you can copy a file to RAM with the same name which will be used instead.

The object store is transactional, but only with respect to file system structures and registry data. If the device is reset before a write completes, you may lose some of your data, but the file system will still be readable.

Finally, the object store is compressed, using one of two algorithms. They're both Lempel-Ziv compression (similar to the ZIP file format), however, one treats all the bytes in sequence, whereas the other compresses the odd and even bytes separately. For a Unicode UTF-16 file, this can often reduce the even byte stream to a simple run of zeros. Files opened with the FILE_FLAG_RANDOM_ACCESS flag are allegedly not compressed.

Any storage cards are currently formatted with the FAT file system - non-transactional, but write-through rather than write-back cached. Storage cards cannot be accessed as working program memory.

Windows CE is a demand-paged operating system: it will only load pages of executable images as they are required. Read-only pages can be discarded and reloaded; writeable pages cannot be discarded once they're written. CE is quite aggressive at removing pages that haven't been used recently.

Finding out how much physical memory is available is a bit tricky. I think you need to use GetSystemMemoryDivision to find out how many physical pages are allocated to working program memory and how many to the object store. Adding the two together gives the memory size.
GeneralParallel Port in C# Pin
eggie513-Jul-03 14:52
eggie513-Jul-03 14:52 
GeneralSetting Serial Port Buffer Size Pin
cbusgut11-Jul-03 3:08
cbusgut11-Jul-03 3:08 
GeneralRe: Setting Serial Port Buffer Size Pin
Daniel Strigl14-Jul-03 9:25
Daniel Strigl14-Jul-03 9:25 
GeneralGet free disk space of PDA from PC via RAPI Pin
lalue11-Jul-03 2:09
lalue11-Jul-03 2:09 
GeneralRe: Get free disk space of PDA from PC via RAPI Pin
Mike Dimmick13-Jul-03 7:02
Mike Dimmick13-Jul-03 7:02 
GeneralRe: Get free disk space of PDA from PC via RAPI Pin
lalue13-Jul-03 7:57
lalue13-Jul-03 7:57 
QuestionShow Unicode text in CCeCommandBar menu ? Pin
dlhson310-Jul-03 21:13
sussdlhson310-Jul-03 21:13 
GeneralConverting BSTR/CString to _bstr_t Pin
Anonymous10-Jul-03 5:24
Anonymous10-Jul-03 5:24 
GeneralRe: Converting BSTR/CString to _bstr_t Pin
João Paulo Figueira10-Jul-03 5:37
professionalJoão Paulo Figueira10-Jul-03 5:37 
GeneralRe: Converting BSTR/CString to _bstr_t Pin
Anonymous10-Jul-03 6:06
Anonymous10-Jul-03 6:06 
GeneralRe: Converting BSTR/CString to _bstr_t Pin
João Paulo Figueira10-Jul-03 8:05
professionalJoão Paulo Figueira10-Jul-03 8:05 
GeneralRe: Converting BSTR/CString to _bstr_t Pin
Mike Dimmick13-Jul-03 7:07
Mike Dimmick13-Jul-03 7:07 
GeneralPocket Excel using eVC Pin
Mahesh Varma10-Jul-03 1:05
Mahesh Varma10-Jul-03 1:05 
Generalpocket access and eVC++ Pin
Mahesh Varma9-Jul-03 17:56
Mahesh Varma9-Jul-03 17:56 
GeneralRe: pocket access and eVC++ Pin
João Paulo Figueira7-Aug-03 6:34
professionalJoão Paulo Figueira7-Aug-03 6:34 
QuestionHow to scan Access Point around? Pin
Joye Liu8-Jul-03 21:31
Joye Liu8-Jul-03 21:31 
GeneralCan't establish connection to Pocket PC Pin
Aroogala8-Jul-03 21:26
Aroogala8-Jul-03 21:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.