DeviceWake and app in Background

  • Thread starter Thread starter info
  • Start date Start date
I

info

Hi

I use the DeviceWake event of the DeviceManagemnt of the OpenNETCF
Framework.

When I tun off my PPC and an other application then mine is on top I
got an Object diposed exception when I ton the PPC back on again.

The complete message is " ObjectDisposedException at
System.Windows.Forms.Control.Invoke.Helper() at
OpenNETCF.WindowsCE.DeviceManagement.Notification.ListenerProc()"


May anyone help me?
I don't have any Idea on how to solve it
 
It sounds like your app has been closed and therefor something was disposed
that the notificationlistener was expecting. I'd qualify this as a bug in
SDF 2.0 Beta. I'll fix the source so the release is fixed.

-Chris
 
Hi

thanks that would be great

as a hint I recognized that this problem appears much more less when I
don't have any Thread.Timer.
With a ThreadTimer (which I stop in the PowerDown) I happens very often.
 
Vault is our code repository. I fixed the code and checked it in. For SDF
1.x we provide public access to the code. For 2.0 we don't yet offer that,
so until the release (which is this week BTW) you can't get the fix.

-Chris
 
Sorry, Boas. That's my bad. I was thinking that the fix would be in the
1.4 source, which you can get via the Vault client that you can download
from the Get the Latest Source page on the Web site.

Paul T.
 
Back
Top