B
Brian
Hi all,
I've tested this on a couple of Ipaqs (all that I have access to) so I'm not
sure if this is a bug in WM2003, the .NET framework, or Ipaq OEM code.
My app (as an alarm) must wake up the PPC using CeRunAppAtTime. Due to some
wake up issues on PPC2003 devices, I use code modified from:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppc2k/html/ppc_layoff.asp
...to make sure the screen is on when the app runs. This seems to solve the
PPC2003 wake up issues. But here's the problem:
1) If I compile this C++ as an EXE, and run it in parallel with my .NET app,
all works fine (PPC wakes up).
2) If I compile this C++ as a DLL, and P/Invoke it from my .NET app, it does
not work most of the time.
3) If I compile this code as part of my project in .NET (code was posted on
the OpenNetCF forums) it does not work most of the time.
So obviously running the EXE outside of the framework allows the PPC to
fully wake up, running it from within the framework is the problem. Ideas?
Is this a bug?
Thanks,
Brian
I've tested this on a couple of Ipaqs (all that I have access to) so I'm not
sure if this is a bug in WM2003, the .NET framework, or Ipaq OEM code.
My app (as an alarm) must wake up the PPC using CeRunAppAtTime. Due to some
wake up issues on PPC2003 devices, I use code modified from:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppc2k/html/ppc_layoff.asp
...to make sure the screen is on when the app runs. This seems to solve the
PPC2003 wake up issues. But here's the problem:
1) If I compile this C++ as an EXE, and run it in parallel with my .NET app,
all works fine (PPC wakes up).
2) If I compile this C++ as a DLL, and P/Invoke it from my .NET app, it does
not work most of the time.
3) If I compile this code as part of my project in .NET (code was posted on
the OpenNetCF forums) it does not work most of the time.
So obviously running the EXE outside of the framework allows the PPC to
fully wake up, running it from within the framework is the problem. Ideas?
Is this a bug?
Thanks,
Brian