G
Guest
Hi there,
Have an issue with my .NET application.
Basically the problem is it runs fine the first time and then when i close
it (from settings > memory) it no longer starts when i click on the icon,
literally does nothing.
This started happening after i'm now using notifications to run a specific
thread every 5 minutes.
In my form_closing event i run this code:
if ( timedSyncThread != null )
{
EventWaitHandle notifyEvent = new OpenNETCF.Threading.EventWaitHandle(
false,
OpenNETCF.Threading.EventResetMode.AutoReset,
"SAMS_SYNC_EVENT" );
// Notify the thread to stop.
notifyEvent.Set();
notifyEvent.Close();
...but i still have this problem.
Any ideas?
PS. Works fine again after a soft reset.
Have an issue with my .NET application.
Basically the problem is it runs fine the first time and then when i close
it (from settings > memory) it no longer starts when i click on the icon,
literally does nothing.
This started happening after i'm now using notifications to run a specific
thread every 5 minutes.
In my form_closing event i run this code:
if ( timedSyncThread != null )
{
EventWaitHandle notifyEvent = new OpenNETCF.Threading.EventWaitHandle(
false,
OpenNETCF.Threading.EventResetMode.AutoReset,
"SAMS_SYNC_EVENT" );
// Notify the thread to stop.
notifyEvent.Set();
notifyEvent.Close();
...but i still have this problem.
Any ideas?
PS. Works fine again after a soft reset.