hi,
this is a question to all those developers with WinCE deep inside knowledge:
i expierenced several times, that windows ce refuses to load additional dlls after some really large dlls were loaded (say 4 MB or so).
is there a maximum code size a process can have under windows ce?
thx,
DANIEL
All I can tell you is CE 3.0 processes each get a 32MB virtual address space, shared among, code, data and all threads in the process. But since there is no virtual memory, you're limited by the available program memory on your device.
that's why i try to adjust the available memory as high as possible. i ensure that it's always something >30MB which *should* be enough...
DANIEL
Go read <a href="http://msdn.microsoft.com/library/en-us/dncenet/html/advmemmgmt.asp?frame=true#advmemmgmt_topic3">this</a>.
wow thank you. that article really helped me understand the problem, learn a little bit more about WinCE and it shows me that my solution to statically link the dll code (i have the sources) to my exe file helps in two ways:
*) it reduces the code overall size, since only code that's really used is linked to an exe file (which is why i did this in the first place).
*) it reduces the dll mess in memory
thanks,
DANIEL