Re: WaitForAPIReady CE 6.0
- From: Phil <pclaydon@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 10 Apr 2008 09:25:01 -0700
Thanks for your help Dean.
Unfortunately our device will have to run in Kiosk mode when it ships so
there will be no shell as such, so the start menu approach seems to be out of
the picture as well. I am loathe just to wait 'a long time' by sleeping in my
thread until everthing 'should' be ready but it seems it might come to that?
Thanks Again
Phil
"Dean Ramsier" wrote:
Keep in mind that the CF just sits on top of a collection of native.
components. There is no single mechanism to determine in general when a CF
based app will be able to run because it depends on what underlying system
component the app might have a dependency on.
I've had trouble with MFC based apps that I tried to start from the init
key. I found that moving them to the Start menu (launched by the shell)
always worked. I never did find the dependency, but it wasn't sufficient to
just wait on the shell to load...
--
Dean Ramsier - eMVP
BSQUARE Corporation
"Phil" <pclaydon@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A54AF679-BEFE-48C2-A615-C7CD305EB0DA@xxxxxxxxxxxxxxxx
Hi Chris
Thanks for your reply. I actually have a c++ app which is started in the
Init registry key which in turn then starts the managed apps. Currently I
am
waiting on SH_GDI, SH_WMGR and SH_COMM (for serial comms?). What
specifically are the other APIS it should wait for to guarantee that the
managed apps can also run?
Best Regards
--
Phil
Remove the nospam section from my e-mail address.
"Chris Tacke, eMVP" wrote:
There is no check for it, as it's not something in the kernel that "gets
ready". The issue for running CF apps is knowing if the stuff the CF
needs
to run is ready, and unfortunately you can't check that inside a CF app
due
to the obvious Catch-22.
--
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
"Phil" <pclaydon@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:37A3EE5A-1DD4-4E27-B046-62FE75B42042@xxxxxxxxxxxxxxxx
Hi All
Does anyone know if there is a value (or constant) of the
dwAPISlotIndex
parameter that I can use with the WaitForAPIReady function in CE 6.0
that
will tell me specifically when the Compact Framework 2.0 is ready?
Thanks
--
Phil
Remove the nospam section from my e-mail address.
- Follow-Ups:
- Re: WaitForAPIReady CE 6.0
- From: Paul G. Tobey [eMVP]
- Re: WaitForAPIReady CE 6.0
- References:
- WaitForAPIReady CE 6.0
- From: Phil
- Re: WaitForAPIReady CE 6.0
- From: Chris Tacke, eMVP
- Re: WaitForAPIReady CE 6.0
- From: Phil
- Re: WaitForAPIReady CE 6.0
- From: Dean Ramsier
- WaitForAPIReady CE 6.0
- Prev by Date: CE 6.0 Web Server SSL
- Next by Date: Re: WaitForAPIReady CE 6.0
- Previous by thread: Re: WaitForAPIReady CE 6.0
- Next by thread: Re: WaitForAPIReady CE 6.0
- Index(es):
Relevant Pages
|