martin kaldma

In my project I'm using a NotifyIcon to be shown in the icon bar. The problem is that the NotifyIcon updates alot and often and after running the app for a few days the ram is almost empty and the phone hangs. So how should I prevent this Using .dispose() I'm not really in to native programming so I'm not a good invoker :p, maybe that's the problem I'm using NETCF2.

Thanks in advance!

Re: .NET Compact Framework NotifyIcon and memory

Ilya Tumanov

Yes, you have to dispose of everything you don't need anymore which is IDisposable. It has nothing to do with native programming.