I am launching two applications via the Init registry key. The first
is a simple test application and the second is my "shell" application
"Launch70"="a2test.exe"
"Depend70"=hex:0a,00,14,00,1e,00
"Launch80"="a2man.exe"
"Depend80"=hex:46,00
All was good in the universe. Then I decided to add a PropertySheet to
my test app. I now get an exception because some serivice is not
available. Since I do not know how to determine what it is trying to
use, I added the IsAPIReady(SH_SHELL) at the beginning of my test
application. It NEVER becomes ready! It would seem that this is also
a very obscure, or at least poorly documented, part of CE. If I run
the explorer shell and then lauch my application it runs fine. Are the
common controls dependent on Explorer.exe? Somewhat related is the
fact that if I do not include the AYGSHELL API component the control
panel applets do not show any of their windows controls!
What sets the IsAPIReady(SH_SHELL)? And just as importantly how can I
determine what magic component I am lacking when I get an Invalid
System Service exception?