Hi,

I have a 3D app that needs a lot of memory. If I move the slider in
the control settings to "gimme all", it runs. However, after a soft
reset it's not enough.
Can I programatically move this slider (know what I mean?)



--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}

Re: more memory? by Chris

Chris
Thu Aug 18 08:30:51 CDT 2005

Call SetSystemMemoryDivision

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcemain4/html/cmrefSetSystemMemoryDivision.asp

--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate


"Gernot Frisch" <Me@Privacy.net> wrote in message
news:3mjc6tF178sl1U1@individual.net...
> Hi,
>
> I have a 3D app that needs a lot of memory. If I move the slider in the
> control settings to "gimme all", it runs. However, after a soft reset it's
> not enough.
> Can I programatically move this slider (know what I mean?)
>
>
>
> --
> -Gernot
> int main(int argc, char** argv) {printf ("%silto%c%cf%cgl%ssic%ccom%c",
> "ma", 58, 'g', 64, "ba", 46, 10);}
>
>
>



Re: more memory? by Gernot

Gernot
Thu Aug 18 09:28:09 CDT 2005

> Call SetSystemMemoryDivision
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcemain4/html/cmrefSetSystemMemoryDivision.asp

Very nice.
Now, the dialog tells me these settings are "temporarily". What does
that mean? What if I set it all to SystemMemory, and someone wants to
write a 5MB file - will the SystemMemoryDivision be adjusted, or will
the file write fail?
-confused,
Gernot



Re: more memory? by Chris

Chris
Thu Aug 18 09:55:44 CDT 2005

The PPC has a memory manager that might adjust it, so the settings are not
"fixed". In the case described I believe it will attempt to adjust it for
you to give enough space for the file.

--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate


"Gernot Frisch" <Me@Privacy.net> wrote in message
news:3mjk5tF1703vbU1@individual.net...
>> Call SetSystemMemoryDivision
>>
>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcemain4/html/cmrefSetSystemMemoryDivision.asp
>
> Very nice.
> Now, the dialog tells me these settings are "temporarily". What does that
> mean? What if I set it all to SystemMemory, and someone wants to write a
> 5MB file - will the SystemMemoryDivision be adjusted, or will the file
> write fail?
> -confused,
> Gernot
>