I have a Today Screen plug in that communicates with a .NET CF application
with windows messages. If the .NET CF app is not running, the TodayScreen
starts with ShellExecuteEx. This works excellent in most cases.

Upon startup from a Soft-Reset the call to ShellExecuteEx appears to
"lock-up" the device (has OEM boot screen and doesn't display Today Screen)

Is there any way I can query the device to see if the startup process from a
soft-reset is complete?

Re: When is Soft-Reset Complete? by Ilya

Ilya
Thu Dec 30 01:55:04 CST 2004

You cannot use this shell function when today plugin is initialising. You
can try to use CeRunAppAtTime function, or set timer and run your helper
process after the initialisation is completed.

"Kevin FL" <Kevin FL@discussions.microsoft.com> wrote in message
news:AF754A81-249C-4851-B5E1-D996E3C07865@microsoft.com...
> I have a Today Screen plug in that communicates with a .NET CF application
> with windows messages. If the .NET CF app is not running, the TodayScreen
> starts with ShellExecuteEx. This works excellent in most cases.
>
> Upon startup from a Soft-Reset the call to ShellExecuteEx appears to
> "lock-up" the device (has OEM boot screen and doesn't display Today
Screen)
>
> Is there any way I can query the device to see if the startup process from
a
> soft-reset is complete?



Re: When is Soft-Reset Complete? by Bruce

Bruce
Thu Dec 30 10:22:42 CST 2004

Or wait for the shell to complete it's init. IsApiReady() should help you
with that.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups



Re: When is Soft-Reset Complete? by Kevin

Kevin
Thu Dec 30 14:19:01 CST 2004

One million thank-you's Bruce -

The IsApiReady() was exactly what I was looking for!

Once I figured out that windev.h was part of the CE Platform Builder not the
SDK and found out where to download it and go through the 1 1/2 hour process
to install it ;), I got the file, made the code change and things worked just
perfect! Still spent less time on the above than I did determing the start
up hang problem, but it would have been nice to have it inclued in the SDK...

Thanks again!

Kevin...


"Bruce Eitman (eMVP)" wrote:

> Or wait for the shell to complete it's init. IsApiReady() should help you
> with that.
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> beitman AT applieddata DOT net
>
> Applied Data Systems
> www.applieddata.net
> An ISO 9001:2000 Registered Company
> Microsoft WEP Gold-level Member
>
> Do have an opinion on the effectiveness of Microsoft Windows Mobile and
> Embedded newsgroups? Let us know!
> https://www.windowsembeddedeval.com/community/newsgroups
>
>
>