Windows CE 5 -> Control Panel -> System -> [Memory tab]: here you can move
slider increasing "Storage Memory" vs "Program Memory".

My problem is: when I launch my (very) big cab from SD card (that copies
many Mb into RAM) sometimes occurs an error because there isn't free memory
but this isn't true because from Panel Control I can verify there is enough
memory. The problem is slider should move itself to increase free "Storage
Memory" (decreasing free "Program Memory").

What's the behaviour of memory slider? Have I to move it by my program code?
:-O

Mhaxx

Re: Memory slider by Bruce

Bruce
Thu Oct 26 07:20:16 CDT 2006

On a Windows Mobile device, yes it moves itself.

On your Windows CE 5.0 device, it does not. You can set it using config.bib
at makeimg time (look up FSRAMPERCENT) or you can change it at run time from
a program (SetSystemMemoryDivision())

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

"Mhaxx" <supermhaxx@despammed.com> wrote in message
news:epEUeKO%23GHA.2340@TK2MSFTNGP05.phx.gbl...
> Windows CE 5 -> Control Panel -> System -> [Memory tab]: here you can move
> slider increasing "Storage Memory" vs "Program Memory".
>
> My problem is: when I launch my (very) big cab from SD card (that copies
> many Mb into RAM) sometimes occurs an error because there isn't free
> memory
> but this isn't true because from Panel Control I can verify there is
> enough
> memory. The problem is slider should move itself to increase free "Storage
> Memory" (decreasing free "Program Memory").
>
> What's the behaviour of memory slider? Have I to move it by my program
> code?
> :-O
>
> Mhaxx
>
>



Re: Memory slider by Mhaxx

Mhaxx
Thu Oct 26 09:09:06 CDT 2006

> On your Windows CE 5.0 device, it does not.

Really?? Are you *sure*?

This means I have to manage it everytime I need memory? :-O

> You can set it using config.bib
> at makeimg time (look up FSRAMPERCENT)

I'm not the Windows CE producer, I'm only using the device..

You're saying I have to ask to my Windows CE vendor to set some PB project
parameters to change to automatically mode (memory slider) like Windows
Mobile 5?

> or you can change it at run time from
> a program (SetSystemMemoryDivision())

You're referring to eVC code, right?

Mhaxx



Re: Memory slider by ctacke/>

ctacke/>
Thu Oct 26 09:18:53 CDT 2006

"Mhaxx" <supermhaxx@despammed.com> wrote in message
news:ecFxdfQ%23GHA.1196@TK2MSFTNGP02.phx.gbl...
>> On your Windows CE 5.0 device, it does not.
>
> Really?? Are you *sure*?
>
> This means I have to manage it everytime I need memory? :-O
>

Yes. Or write a background app or service that does it for you like the WM
team did.

>> You can set it using config.bib
>> at makeimg time (look up FSRAMPERCENT)
>
> I'm not the Windows CE producer, I'm only using the device..
>
> You're saying I have to ask to my Windows CE vendor to set some PB project
> parameters to change to automatically mode (memory slider) like Windows
> Mobile 5?

There is no "automatic" mode, unless your OEM wrote one. If they did it
would probably not be off by default, so I doubt they did.

>
>> or you can change it at run time from
>> a program (SetSystemMemoryDivision())
>
> You're referring to eVC code, right?

No, he's referencing an API. It can be called from any language.


--
Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--




Re: Memory slider by Bruce

Bruce
Thu Oct 26 10:45:07 CDT 2006

Mhaxx:

If you are not using Platform Builder you should consider using one of the
application development newsgroups that closely matches the tools/language
you are using. That would automatically put your question in the proper
context.

The context of this newsgroup is that you are using Platform Builder to
develop a Windows CE device. So the answers assume this also.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

"Mhaxx" <supermhaxx@despammed.com> wrote in message
news:ecFxdfQ%23GHA.1196@TK2MSFTNGP02.phx.gbl...
>> On your Windows CE 5.0 device, it does not.
>
> Really?? Are you *sure*?
>
> This means I have to manage it everytime I need memory? :-O
>
>> You can set it using config.bib
>> at makeimg time (look up FSRAMPERCENT)
>
> I'm not the Windows CE producer, I'm only using the device..
>
> You're saying I have to ask to my Windows CE vendor to set some PB project
> parameters to change to automatically mode (memory slider) like Windows
> Mobile 5?
>
>> or you can change it at run time from
>> a program (SetSystemMemoryDivision())
>
> You're referring to eVC code, right?
>
> Mhaxx
>
>