PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Smartphone memory management question

angedelamort · 03 Oct 2002, 19:31 UTC
Hi,

I just want to know if anyone has tested the OS functionality: i.e. When the system memory is not enouph, the system call WM_HIBERNATE and WM_CLOSE. So, I've made some test and my application does not seem to receive those events...

So i'm wondering if it's working. I know those events are not send when the application is in SW_HIDE mode.

TIA
angedelamort · 04 Oct 2002, 14:16 UTC
I've made 2 applications:

1 that allocate 2 meg and only log events sended by the OS and another application that allocate small buffers (128k) untill it cannot allocate more :P

Here the conclusion:
I receive the WM_CLOSE, but not the WM_HIBERNATE...

at least, 50% of the events are working :P

If you know why The system is not sending this event to my app, I will be really interested :)