How can I adjust memory config on WinCE5.0 device programaticly

  • Thread starter Thread starter arnodieter
  • Start date Start date
A

arnodieter

I've written an application for inventory and price enquiry. The application
is written in c# using VS2008, .NetCF2.0 and SQLCE3.5. The device where the
application must run is a Symbol/Motorola MC1000 which has very poor
performance and very little memory.
In the control panel one can manualy adjust the memory usage/partitioning
between "program-memory" and "storage-memory". I want to adjust the settings
programaticly during runtime and/or setup. I thought I remember, that this
adjustment is done by the OS automaticaly but it doesn't seem so.
When the adjustment isn't right, the program behaves strange (sqlce doesn't
open connections even if the files are there and not used anywhere and it
takes "some time" to start the realy smal forms)

- Is there a way to do this (managed or by pinvoke)?

Thanks in advance
 
Back
Top