unloading of application
Hi,
I'm writing an application for compact framework Pocket PC. My application unloads frequently when it finds low memory. i want to run my application always in the memory.
How do i make ay application always running in the memory.
Please give me good solution.
Thanks a lot in advance.
Srinivas
No it is not throwing any Error or Exception. My application runs perfectly with five or six apllications running in the Memory when it exceeds more than seven or eight application in the memory my application unloads without giving any warning or error message to the user.
Sometimes when the user using the IE and Query Analyzer the application unloads(my application is not showing up in the memory->RunningPrograms) this is not happen at all time.
My application is about to track the Phone calls and emails from the device.
Thanks,
Srinivas
I think this thread may be touching upon your issue and partial solution. http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=273896&SiteID=1
As the fellow mentions cancelling the WM_CLOSE message frequently works but isn't guaranteed.
Noah Falk
.Net Compact Framework